diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 06:44:55 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 06:44:55 +0000 |
commit | fca38b287e0fa4da9f59838d3ba0fb2e9f7b85d2 (patch) | |
tree | 2195d49c6f21ec411c0474c8216415bbbe9937b5 /testsuite | |
parent | Adding upstream version 0.1. (diff) | |
download | lzd-fca38b287e0fa4da9f59838d3ba0fb2e9f7b85d2.tar.xz lzd-fca38b287e0fa4da9f59838d3ba0fb2e9f7b85d2.zip |
Adding upstream version 0.2.upstream/0.2
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/check.sh | 7 |
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 |