summaryrefslogtreecommitdiff
path: root/tests/sort
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-11-30 20:26:33 +0000
committerJim Meyering <jim@meyering.net>1995-11-30 20:26:33 +0000
commit5eeef11a3b136e235cf3b868e49c231b4f569cfb (patch)
tree92f08765f7f74cebc1f6038159b72881c6fc6a27 /tests/sort
parentcfbca54a71283153bdfde431ab606bd91ae8b519 (diff)
downloadcoreutils-5eeef11a3b136e235cf3b868e49c231b4f569cfb.tar.xz
standardizing...
Diffstat (limited to 'tests/sort')
-rwxr-xr-xtests/sort/build-script10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/sort/build-script b/tests/sort/build-script
index 970dcf8c9..5c2b2d4ba 100755
--- a/tests/sort/build-script
+++ b/tests/sort/build-script
@@ -1,11 +1,11 @@
#!/p/bin/perl -w
-$sort = './sort';
+$xx = './sort';
$test = 0;
$| = 1;
-print "#! /bin/sh\nsort='$sort'\necho testing with sort=\$sort\nerrors=0\n";
-print "$sort --version 2> /dev/null\n";
+print "#! /bin/sh\nxx='$xx'\necho testing with $xx=\$xx\nerrors=0\n";
+print "$xx --version 2> /dev/null\n";
$expected = '';
$input = '';
$options = '';
@@ -35,12 +35,12 @@ while (<>)
print EXP $expected;
close(EXP);
$err_output = "t$test_name.err";
- $cmd = "\$sort $options $in > $out 2> $err_output";
+ $cmd = "\$xx $options $in > $out 2> $err_output";
print <<EOF ;
$cmd
code=\$?
if test \$code != $e_ret_code ; then
- echo Test $test_name failed: sort return code \$code differs from expected value $e_ret_code 1>&2
+ echo Test $test_name failed: $xx return code \$code differs from expected value $e_ret_code 1>&2
errors=`expr \$errors + 1`
else
cmp $out $exp_name