summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2022-02-17 11:15:16 +0100
committerDamien Miller <djm@mindrot.org>2022-02-17 11:15:16 +0100
commitb2aee35a1f0dc798339b3fcf96136da71b7e3f6d (patch)
tree91a261039b40049b7f955e721a60bdae60bcf2d5 /regress
parentupdate versions in preparation for 8.9 release (diff)
downloadopenssh-b2aee35a1f0dc798339b3fcf96136da71b7e3f6d.tar.xz
openssh-b2aee35a1f0dc798339b3fcf96136da71b7e3f6d.zip
find sk-dummy.so when build_dir != src_dir
spotted by Corinna Vinschen; feedback & ok dtucker@
Diffstat (limited to 'regress')
-rw-r--r--regress/test-exec.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 15bdd0847..9fb02d1cb 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -574,6 +574,8 @@ if ! config_defined ENABLE_SK; then
trace skipping sk-dummy
elif [ -f "${SRC}/misc/sk-dummy/obj/sk-dummy.so" ] ; then
SSH_SK_PROVIDER="${SRC}/misc/sk-dummy/obj/sk-dummy.so"
+elif [ -f "${OBJ}/misc/sk-dummy/sk-dummy.so" ] ; then
+ SSH_SK_PROVIDER="${OBJ}/misc/sk-dummy/sk-dummy.so"
elif [ -f "${SRC}/misc/sk-dummy/sk-dummy.so" ] ; then
SSH_SK_PROVIDER="${SRC}/misc/sk-dummy/sk-dummy.so"
fi