diff options
Diffstat (limited to 'tests/pkits')
-rw-r--r-- | tests/pkits/common.sh | 2 | ||||
-rwxr-xr-x | tests/pkits/inittests | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/pkits/common.sh b/tests/pkits/common.sh index ca18b9501..697f28f67 100644 --- a/tests/pkits/common.sh +++ b/tests/pkits/common.sh @@ -52,7 +52,7 @@ if [ -n "$GPG_AGENT_INFO" ]; then exit 1 fi -if [ -f PKITS_data.tar.bz2 ]; then +if [ -f "$srcdir/PKITS_data.tar.bz2" ]; then : else if [ "$pgmname" = "import-all-certs" ]; then diff --git a/tests/pkits/inittests b/tests/pkits/inittests index 5c29bdc49..4bff0a8b8 100755 --- a/tests/pkits/inittests +++ b/tests/pkits/inittests @@ -58,8 +58,8 @@ if [ -n "$GPG_AGENT_INFO" ]; then exit 1 fi -if test -f PKITS_data.tar.bz2; then - if ! bunzip2 -c PKITS_data.tar.bz2 | tar xf - ; then +if test -f "$srcdir/PKITS_data.tar.bz2"; then + if ! bunzip2 -c "$srcdir/PKITS_data.tar.bz2" | tar xf - ; then echo "inittests: failed to untar the test data" >&2 exit 1 fi |