From f3825709921f4672f9c0abd2ff92dad0fb38719f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 15 Jul 1999 16:13:47 +0000 Subject: Revert the 1999-02-15 change and add --text for individual tests. Reported by Eli Zaretskii. --- tests/md5sum/basic-1 | 7 +++++++ tests/md5sum/newline-1 | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'tests/md5sum') 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}; -- cgit v1.2.3-70-g09d2