diff options
-rwxr-xr-x | tests/md5sum/basic-1 | 7 | ||||
-rwxr-xr-x | tests/md5sum/newline-1 | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/md5sum/basic-1 b/tests/md5sum/basic-1 index 71bbc4a0b..d2dfb4228 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 4ff544b74..6bb705d3b 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}; |