From a48f65702483dd9db441c094b2696e02a51caf76 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 24 Mar 2016 11:00:36 +0100 Subject: add more checksum tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- __sum/__test | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '__sum/__test') diff --git a/__sum/__test b/__sum/__test index aafba44..4b30822 100755 --- a/__sum/__test +++ b/__sum/__test @@ -144,11 +144,17 @@ check_multi () rm tmp1 tmp2 } +massive () +{ + diff <($s $(cat bytes)) ${algo}-bytes > /dev/null + report $? "massive" +} + if test $# = 0; then set multiple_files_order multiple_files_delim multiple_files_sum multiple_files one_file \ stdin dash check_file_match check_stdin_match check_dash_match check_file_mismatch \ - check_stdin_mismatch check_dash_mismatch check_case check_multi + check_stdin_mismatch check_dash_mismatch check_case check_multi massive fi ( for f in $@; do -- cgit v1.2.3-70-g09d2