summaryrefslogtreecommitdiff
path: root/tests/factor
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-04 07:58:21 +0000
committerJim Meyering <jim@meyering.net>2000-04-04 07:58:21 +0000
commit0fe3b0fe414c46594d3308a67ba049cc6c9e6a1d (patch)
tree933c9fdbbe8a73d9dd96488361bd479f575d64d4 /tests/factor
parent92f6a5cd8e128e7ad73326c618340ec8f42d8d97 (diff)
downloadcoreutils-0fe3b0fe414c46594d3308a67ba049cc6c9e6a1d.tar.xz
Split a long line and tweak for font-lock mode.
Diffstat (limited to 'tests/factor')
-rwxr-xr-xtests/factor/basic11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/factor/basic b/tests/factor/basic
index b0b2e7b05..0c830315f 100755
--- a/tests/factor/basic
+++ b/tests/factor/basic
@@ -1,16 +1,19 @@
#!/bin/sh
+# -*-perl-*-
: ${PERL=perl}
: ${srcdir=.}
case "$PERL" in
*'missing perl')
- echo 1>&2 "$0: configure didn't find a usable version of Perl, so can't run this test"
- exit 77
- ;;
+ echo 1>&2 "$0: configure didn't find a usable version of Perl," \
+ "so can't run this test"
+ exit 77
+ ;;
esac
-exec $PERL -w -I$srcdir/.. -MFetish -- - << \EOF
+d=$srcdir/..
+exec $PERL -w -I$d -MFetish -- - << \EOF
require 5.003;
use strict;