From 6fa36728c854918e4a2c55ae68077b729c2505d5 Mon Sep 17 00:00:00 2001 From: Doug Engert Date: Fri, 18 Oct 2024 08:03:42 -0500 Subject: [PATCH] fix test scripts that fail when building our of source dir On branch X25519-improvements-2 Changes to be committed: modified: tests/test-pkcs11-tool-sym-crypt-test.sh modified: tests/test-pkcs11-tool-unwrap-wrap-test.sh --- tests/test-pkcs11-tool-sym-crypt-test.sh | 3 ++- tests/test-pkcs11-tool-unwrap-wrap-test.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test-pkcs11-tool-sym-crypt-test.sh b/tests/test-pkcs11-tool-sym-crypt-test.sh index d6b36f0cff1..9956369a08b 100755 --- a/tests/test-pkcs11-tool-sym-crypt-test.sh +++ b/tests/test-pkcs11-tool-sym-crypt-test.sh @@ -1,6 +1,7 @@ #!/bin/bash +SOURCE_PATH=${SOURCE_PATH:-..} -source common.sh +source $SOURCE_PATH/tests/common.sh echo "=======================================================" echo "Setup SoftHSM" diff --git a/tests/test-pkcs11-tool-unwrap-wrap-test.sh b/tests/test-pkcs11-tool-unwrap-wrap-test.sh index 0072d0406a7..1cb4ea175a8 100755 --- a/tests/test-pkcs11-tool-unwrap-wrap-test.sh +++ b/tests/test-pkcs11-tool-unwrap-wrap-test.sh @@ -1,5 +1,6 @@ #!/bin/bash -source common.sh +SOURCE_PATH=${SOURCE_PATH:-..} +source $SOURCE_PATH/tests/common.sh echo "=======================================================" echo "Setup SoftHSM"