summaryrefslogtreecommitdiff
path: root/tests/fmt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fmt')
-rwxr-xr-xtests/fmt/basic3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fmt/basic b/tests/fmt/basic
index 80171197e..dae2f97bc 100755
--- a/tests/fmt/basic
+++ b/tests/fmt/basic
@@ -33,7 +33,8 @@ $PERL -e 1 > /dev/null 2>&1 || {
LC_ALL=C
export LC_ALL
-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;