diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-30 20:26:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-30 20:26:33 +0000 |
commit | 5eeef11a3b136e235cf3b868e49c231b4f569cfb (patch) | |
tree | 92f08765f7f74cebc1f6038159b72881c6fc6a27 /tests/sort | |
parent | cfbca54a71283153bdfde431ab606bd91ae8b519 (diff) | |
download | coreutils-5eeef11a3b136e235cf3b868e49c231b4f569cfb.tar.xz |
standardizing...
Diffstat (limited to 'tests/sort')
-rwxr-xr-x | tests/sort/build-script | 10 |
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 |