summaryrefslogtreecommitdiff
path: root/tests/sum
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sum')
-rwxr-xr-xtests/sum/basic-13
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sum/basic-1 b/tests/sum/basic-1
index b3e9f664a..c3da694b4 100755
--- a/tests/sum/basic-1
+++ b/tests/sum/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;