aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pkits/inittests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkits/inittests')
-rwxr-xr-xtests/pkits/inittests4
1 files changed, 2 insertions, 2 deletions
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