summaryrefslogtreecommitdiff
path: root/regress/test-exec.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2022-02-17 21:15:16 +1100
committerDamien Miller <djm@mindrot.org>2022-02-17 21:15:16 +1100
commitb2aee35a1f0dc798339b3fcf96136da71b7e3f6d (patch)
tree91a261039b40049b7f955e721a60bdae60bcf2d5 /regress/test-exec.sh
parent62a2d4e50b2e89f2ef04576931895d5139a5d037 (diff)
downloadopenssh-git-b2aee35a1f0dc798339b3fcf96136da71b7e3f6d.tar.gz
find sk-dummy.so when build_dir != src_dir
spotted by Corinna Vinschen; feedback & ok dtucker@
Diffstat (limited to 'regress/test-exec.sh')
-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 15bdd084..9fb02d1c 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