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"