]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Revert the 1999-02-15 change and
authorJim Meyering <jim@meyering.net>
Thu, 15 Jul 1999 16:13:47 +0000 (16:13 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 15 Jul 1999 16:13:47 +0000 (16:13 +0000)
add --text for individual tests.  Reported by Eli Zaretskii.

tests/md5sum/basic-1
tests/md5sum/newline-1

index 71bbc4a0bc3ab6afeb04cd7b9f759ef84f71c6b6..d2dfb42287e5225e688d445d353e28381da982f4 100755 (executable)
@@ -38,6 +38,13 @@ my @Tests =
                                {OUT=>"\\$degenerate  .\\\\foo\n"}],
     );
 
+# Insert the `--text' argument for each test.
+my $t;
+foreach $t (@Tests)
+  {
+    splice @$t, 1, 0, '--text';
+  }
+
 my $save_temps = $ENV{DEBUG};
 my $verbose = $ENV{VERBOSE};
 
index 4ff544b742ec3b063d25daa64f3472186cc8beb1..6bb705d3b7f1b47a1a52a4777930ea77d4604bde 100755 (executable)
@@ -37,10 +37,11 @@ use strict;
 @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3;
 
 my $degenerate = "d41d8cd98f00b204e9800998ecf8427e";
+my $t = '--text';
 
 my @Tests =
     (
-     ['newline', {IN=> {"a\nb"=> ''}}, {OUT=>"\\$degenerate  a\\nb\n"}],
+     ['newline', $t, {IN=> {"a\nb"=> ''}}, {OUT=>"\\$degenerate  a\\nb\n"}],
     );
 
 my $save_temps = $ENV{DEBUG};