summaryrefslogtreecommitdiffstats
path: root/testsuite/check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/check.sh')
-rwxr-xr-xtestsuite/check.sh7
1 files changed, 5 insertions, 2 deletions
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