diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-09 17:53:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-09 17:53:59 +0000 |
commit | e6800f5073314470f97a6529f20e0dfb59205822 (patch) | |
tree | 8dc9bb2f54b07377e92a6b55c6d3f17bf8a3e887 /tests/tr | |
parent | e1ff4d762b7b7ce1a42047ef6f3e82d1244521de (diff) | |
download | coreutils-e6800f5073314470f97a6529f20e0dfb59205822.tar.xz |
Use /usr/bin/perl.
Remove unused $test.
Diffstat (limited to 'tests/tr')
-rwxr-xr-x | tests/tr/build-script | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/tr/build-script b/tests/tr/build-script index 6e55d8b0b..1ae1feb6d 100755 --- a/tests/tr/build-script +++ b/tests/tr/build-script @@ -1,7 +1,6 @@ -#!/p/bin/perl -w +#!/usr/bin/perl -w $xx = './tr'; -$test = 0; $| = 1; print "#! /bin/sh\nxx='$xx'\necho testing with $xx=\$xx\nerrors=0\n"; @@ -10,13 +9,12 @@ $expected = ''; $s1 = ''; $input = ''; $flags = ''; -$s1 = ''; +$s2 = ''; while (<>) { next if (/^\s*#/); - $test++; chop; $prog = '($test_name, $input,$flags,$s1,$s2,$expected,$e_ret_code) = ' . $_ . ';'; eval $prog; |