diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-30 20:06:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-30 20:06:49 +0000 |
commit | f0f6a9c44e8024d1a349a07a49fadddb374a934d (patch) | |
tree | 786202e9397761c05606f755b39a1a359318ae5b /tests/tr | |
parent | cc1a9180a76401b4581193c8728f57d6f2713062 (diff) | |
download | coreutils-f0f6a9c44e8024d1a349a07a49fadddb374a934d.tar.xz |
.
Diffstat (limited to 'tests/tr')
-rwxr-xr-x | tests/tr/build-script | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/tr/build-script b/tests/tr/build-script index d6026a263..4864c2b34 100755 --- a/tests/tr/build-script +++ b/tests/tr/build-script @@ -7,6 +7,7 @@ $test = 0; $| = 1; print "#! /bin/sh\ntr='$tr'\necho testing with tr=\$tr\nerrors=0\n"; +print "$tr --version 2> /dev/null\n"; $expected = ''; $s1 = ''; $input = ''; @@ -21,9 +22,9 @@ while (<>) chop; $prog = '($test_name, $input,$flags,$s1,$s2,$expected,$e_ret_code) = ' . $_ . ';'; eval $prog; - $in = "t$test_name.in"; - $exp_name = 't' . $test_name . '.exp'; - $out = "t$test_name.out"; + $in = "t$test_name.in"; + $exp_name = 't' . $test_name . '.exp'; + $out = "t$test_name.out"; open(IN, ">$in") || die "Couldn't open $in for writing.\n"; print IN $input; |