summaryrefslogtreecommitdiff
path: root/tests/tr
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-18 18:20:57 +0000
committerJim Meyering <jim@meyering.net>1995-05-18 18:20:57 +0000
commita693d752bc302c2742a3ffbeebe3323663ebec8c (patch)
tree1af10e770bdfade4c26c7ac5cf5ca389944feaed /tests/tr
parenta547f02ddf9ca34432941a0cdbf20a232a9d5f6f (diff)
downloadcoreutils-a693d752bc302c2742a3ffbeebe3323663ebec8c.tar.xz
Oops. Test $tr, not `tr' from PATH.
Diffstat (limited to 'tests/tr')
-rwxr-xr-xtests/tr/build-script6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tr/build-script b/tests/tr/build-script
index 5ede91975..5c7016bbf 100755
--- a/tests/tr/build-script
+++ b/tests/tr/build-script
@@ -1,12 +1,12 @@
#!/p/bin/perl -w
$tr = '../tr +io 5';
-$tr = './tr';
$tr = 'tr';
+$tr = './tr';
$test = 0;
$| = 1;
-print ":\nerrors=0\n";
+print "#! /bin/sh\necho 'testing with tr=$tr'\ntr=$tr\nerrors=0\n";
$expected = '';
$s1 = '';
$input = '';
@@ -34,7 +34,7 @@ while (<>)
close(EXP);
$arg2 = ($s2 ? " '$s2'" : '');
$err_output = "t$test_name.err";
- $cmd = "$tr $flags \'$s1\'$arg2 < $in > $out 2> $err_output";
+ $cmd = "\$tr $flags \'$s1\'$arg2 < $in > $out 2> $err_output";
print <<EOF ;
$cmd
code=\$?