diff options
author | Jim Meyering <jim@meyering.net> | 1999-07-15 16:13:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-07-15 16:13:47 +0000 |
commit | f3825709921f4672f9c0abd2ff92dad0fb38719f (patch) | |
tree | 0a3745c0f8460c8edeeffa6583060dffdac6326f /tests/md5sum | |
parent | 1e994215845cf5112cf500f4293aa08e9fc04dc9 (diff) | |
download | coreutils-f3825709921f4672f9c0abd2ff92dad0fb38719f.tar.xz |
Revert the 1999-02-15 change and
add --text for individual tests. Reported by Eli Zaretskii.
Diffstat (limited to 'tests/md5sum')
-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}; |