diff options
author | Jim Meyering <jim@meyering.net> | 1997-01-30 03:26:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-01-30 03:26:27 +0000 |
commit | 56557d787a1ca4be5293244897f39b1c68cd87aa (patch) | |
tree | 8a5e4e24d5677c4bee1a3ea88eaac7deb79324c8 /tests | |
parent | 6b1d2c4de1ee5c5f6d5dd6ec6734a9d44f284e8d (diff) | |
download | coreutils-56557d787a1ca4be5293244897f39b1c68cd87aa.tar.xz |
Remove input_via_stdin flag.
Do each test twice: get input via REDIR and PIPE.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/md5sum/Test.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/md5sum/Test.pm b/tests/md5sum/Test.pm index 3ebc7c13d..fa422888a 100644 --- a/tests/md5sum/Test.pm +++ b/tests/md5sum/Test.pm @@ -3,8 +3,6 @@ package Test; require 5.002; use strict; -$Test::input_via_stdin = 1; - sub test_vector { my @tvec = @@ -33,6 +31,7 @@ sub test_vector { my ($test_name, $flags, $in, $exp, $ret) = @$t; push (@tv, [$test_name, $flags, $in, "$exp -\n", $ret]); + $Test::input_via{$test_name} = {REDIR => 0, PIPE => 0}; } return @tv; |