From cc61e405e37aa8d68feb6b8550089d1a8f8c1307 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 07:45:07 +0100 Subject: Merging upstream version 0.2. Signed-off-by: Daniel Baumann --- testsuite/check.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testsuite/check.sh') diff --git a/testsuite/check.sh b/testsuite/check.sh index 6dd7bb8..5fc6d18 100755 --- a/testsuite/check.sh +++ b/testsuite/check.sh @@ -27,10 +27,13 @@ fail=0 printf "testing lzd-%s..." "$2" -"${LZIP}" < "${in_lz}" | cmp "${in}" - || fail=1 +"${LZIP}" < "${in_lz}" > copy || fail=1 +cmp "${in}" copy || fail=1 printf . + +cat "${in}" "${in}" > in2 || framework_failure cat "${in_lz}" "${in_lz}" | "${LZIP}" > copy2 || fail=1 -cat "${in}" "${in}" | cmp copy2 - || fail=1 +cmp in2 copy2 || fail=1 printf . echo -- cgit v1.2.3