From: Ben Pfaff Date: Sun, 16 Jul 2017 03:11:06 +0000 (-0700) Subject: tests: Use path search for zip-test instead of full path. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=ca4a5e1298b3d018e45d802b12828e49b66b6c6b tests: Use path search for zip-test instead of full path. This allows "check-valgrind" to work properly since it relies on putting wrappers early in $PATH. --- diff --git a/tests/libpspp/zip.at b/tests/libpspp/zip.at index f8278412e5..a2f9d6f179 100644 --- a/tests/libpspp/zip.at +++ b/tests/libpspp/zip.at @@ -37,13 +37,13 @@ while test $s -le 8192 ; do names="$names $bn"; done -(cd $dir1 && $abs_top_builddir/tests/libpspp/zip-test w foo.zip $names) +(cd $dir1 && zip-test w foo.zip $names) mkdir -p $dir2 cp $dir1/foo.zip $dir2 cd $dir2 -$abs_top_builddir/tests/libpspp/zip-test r foo.zip $names +zip-test r foo.zip $names # Compare the files to their originals for f in $names; do