summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-16 00:40:55 +0000
committerJim Meyering <jim@meyering.net>1996-12-16 00:40:55 +0000
commit17a2ec94a8c0e7704ac5de48eb7b7ab5ccfa4886 (patch)
tree3f90e27cab74b5964260e1210bd3a94c8d7d5bca /tests/ls
parente7f85031381e892fc98d6ce804591a4aecb07a04 (diff)
downloadcoreutils-17a2ec94a8c0e7704ac5de48eb7b7ab5ccfa4886.tar.xz
.
Diffstat (limited to 'tests/ls')
-rw-r--r--tests/ls/mk-script.pl9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/ls/mk-script.pl b/tests/ls/mk-script.pl
index 0a8778512..ab2c6f112 100644
--- a/tests/ls/mk-script.pl
+++ b/tests/ls/mk-script.pl
@@ -71,11 +71,13 @@ sub spec_to_list ($$$)
return \%h;
}
-$| = 1;
+# ~~~~~~~ main ~~~~~~~~
+{
+ $| = 1;
-my $xx = $ARGV[0];
+ my $xx = $ARGV[0];
-print <<EOF;
+ print <<EOF;
#! /bin/sh
# This script was generated automatically by build-script.
case \$# in
@@ -89,7 +91,6 @@ test "\$srcdir" || srcdir=.
test "\$VERBOSE" && \$xx --version 2> /dev/null
EOF
-{
my %seen;
my $test_vector;