From 6ba3c832b33c75c636f5be326c324e2d06f6d308 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 23 Mar 2016 19:25:12 +0100 Subject: add another checksum test: check_multi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- __sum/__test | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to '__sum/__test') diff --git a/__sum/__test b/__sum/__test index c08cd9b..aafba44 100755 --- a/__sum/__test +++ b/__sum/__test @@ -135,11 +135,20 @@ check_case () rm tmp1 tmp2 } +check_multi () +{ + $s $(seq 1 5) > tmp1 + $s $(seq 6 $N) > tmp2 + $s -c tmp1 tmp2 > /dev/null + report $? "check_multi" + rm tmp1 tmp2 +} + 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_stdin_mismatch check_dash_mismatch check_case check_multi fi ( for f in $@; do -- cgit v1.2.3-70-g09d2