From: Jim Meyering Date: Thu, 15 Jul 1999 16:13:47 +0000 (+0000) Subject: Revert the 1999-02-15 change and X-Git-Tag: TEXTUTILS-1_22n~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3825709921f4672f9c0abd2ff92dad0fb38719f;p=thirdparty%2Fcoreutils.git Revert the 1999-02-15 change and add --text for individual tests. Reported by Eli Zaretskii. --- diff --git a/tests/md5sum/basic-1 b/tests/md5sum/basic-1 index 71bbc4a0bc..d2dfb42287 100755 --- a/tests/md5sum/basic-1 +++ b/tests/md5sum/basic-1 @@ -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}; diff --git a/tests/md5sum/newline-1 b/tests/md5sum/newline-1 index 4ff544b742..6bb705d3b7 100755 --- a/tests/md5sum/newline-1 +++ b/tests/md5sum/newline-1 @@ -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};