]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Thu, 30 Nov 1995 20:06:49 +0000 (20:06 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 30 Nov 1995 20:06:49 +0000 (20:06 +0000)
tests/tr/build-script

index d6026a2630e343098a30a4ebead84e7ab31d857d..4864c2b344ecf1cad134db7e0005f050a89faac1 100755 (executable)
@@ -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;