diff options
Diffstat (limited to 'tests/sha1sum')
-rwxr-xr-x | tests/sha1sum/basic-1 | 3 | ||||
-rwxr-xr-x | tests/sha1sum/sample-vec | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/sha1sum/basic-1 b/tests/sha1sum/basic-1 index 5f89e922a..7cee37e41 100755 --- a/tests/sha1sum/basic-1 +++ b/tests/sha1sum/basic-1 @@ -25,7 +25,8 @@ $PERL -e 1 > /dev/null 2>&1 || { exit 77 } -exec $PERL -w -I$srcdir/.. -MCoreutils -- - <<\EOF +me=`echo $0|sed 's,.*/,,'` +exec $PERL -w -I$srcdir/.. -MCoreutils -M"CuTmpdir qw($me)" -- - <<\EOF require 5.003; use strict; diff --git a/tests/sha1sum/sample-vec b/tests/sha1sum/sample-vec index b27bf5f61..fa83aed55 100755 --- a/tests/sha1sum/sample-vec +++ b/tests/sha1sum/sample-vec @@ -25,7 +25,8 @@ $PERL -e 1 > /dev/null 2>&1 || { exit 77 } -exec $PERL -w -I$srcdir/.. -MCoreutils -- - <<\EOF +me=`echo $0|sed 's,.*/,,'` +exec $PERL -w -I$srcdir/.. -MCoreutils -M"CuTmpdir qw($me)" -- - <<\EOF require 5.003; use strict; |