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 71bbc4a..d2dfb42 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 4ff544b..6bb705d 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};