diff options
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/md5sum-bsd.sh | 2 | ||||
-rwxr-xr-x | tests/misc/md5sum-newline.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/md5sum-bsd.sh b/tests/misc/md5sum-bsd.sh index 8ff4a9a71..57188e863 100755 --- a/tests/misc/md5sum-bsd.sh +++ b/tests/misc/md5sum-bsd.sh @@ -28,7 +28,7 @@ print_ver_ md5sum # I.e., one not starting with ' ' or '*' for i in 'a' ' b' '*c' 'dd' ' '; do echo "$i" > "$i" - md5sum "$i" >> check.md5sum || fail=1 + md5sum --text "$i" >> check.md5sum || fail=1 done sed 's/ / /' check.md5sum > check.md5 diff --git a/tests/misc/md5sum-newline.pl b/tests/misc/md5sum-newline.pl index 4997c2198..a89b3ca7c 100755 --- a/tests/misc/md5sum-newline.pl +++ b/tests/misc/md5sum-newline.pl @@ -35,7 +35,7 @@ my $z = '--zero'; my @Tests = ( ['newline', $t, {IN=> {"a\nb"=> ''}}, {OUT=>"\\$degenerate a\\nb\n"}], - ['zero', $z, {IN=> {"a\nb"=> ''}}, {OUT=>"$degenerate a\nb\0"}], + ['zero', "$t $z", {IN=> {"a\nb"=> ''}}, {OUT=>"$degenerate a\nb\0"}], ); my $save_temps = $ENV{DEBUG}; |