diff options
author | Jim Meyering <jim@meyering.net> | 1994-11-07 04:36:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-11-07 04:36:07 +0000 |
commit | 1f875effabdd636c34188b42864a6c7254a10efd (patch) | |
tree | 6f4d729b56c0c4aefe204b36a3cbb421a7293e6f /tests/tr | |
parent | 4c722a96ba32e2a32fad410cd7047acba4e880db (diff) | |
download | coreutils-1f875effabdd636c34188b42864a6c7254a10efd.tar.xz |
Add -w and clean up.
Diffstat (limited to 'tests/tr')
-rwxr-xr-x | tests/tr/build-script | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/tr/build-script b/tests/tr/build-script index a6df348e4..d8000ff91 100755 --- a/tests/tr/build-script +++ b/tests/tr/build-script @@ -1,12 +1,16 @@ -#!/p/bin/perl +#!/p/bin/perl5.000 -w $tr = '../tr +io 5'; $tr = 'tr'; $test = 0; -$failures = 0; $| = 1; print ":\nerrors=0\n"; +$expected = ''; +$s1 = ''; +$input = ''; +$flags = ''; +$s1 = ''; while (<>) { @@ -14,7 +18,7 @@ while (<>) $test++; chop; - $prog = '($input,$flags,$s1,$s2,$expected,$e_ret_code) = ' . $_ . ';'; + $prog = '($test_name, $input,$flags,$s1,$s2,$expected,$e_ret_code) = ' . $_ . ';'; eval $prog; $in = "t$test.in"; $exp_name = 't' . $test . '.expected'; |