diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 09:32:03 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 09:32:03 +0000 |
commit | 415e3e6d437f5cadbf4d7c3727e0bb1d0106b437 (patch) | |
tree | afb6be0c266301843a8ff7e0ac10c452394de3c0 /testsuite/check.sh | |
parent | Adding upstream version 1.13~rc2. (diff) | |
download | lzip-415e3e6d437f5cadbf4d7c3727e0bb1d0106b437.tar.xz lzip-415e3e6d437f5cadbf4d7c3727e0bb1d0106b437.zip |
Adding upstream version 1.13.upstream/1.13
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'testsuite/check.sh')
-rwxr-xr-x | testsuite/check.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuite/check.sh b/testsuite/check.sh index a82d0de..116345c 100755 --- a/testsuite/check.sh +++ b/testsuite/check.sh @@ -22,24 +22,22 @@ mkdir tmp cd "${objdir}"/tmp cat "${testdir}"/test.txt > in || framework_failure +cat in in > in2 || framework_failure fail=0 printf "testing lzip-%s..." "$2" "${LZIP}" -t "${testdir}"/test_v0.lz || fail=1 -printf . "${LZIP}" -cd "${testdir}"/test_v0.lz > copy || fail=1 cmp in copy || fail=1 printf . "${LZIP}" -t "${testdir}"/test_v1.lz || fail=1 -printf . "${LZIP}" -cd "${testdir}"/test_v1.lz > copy || fail=1 cmp in copy || fail=1 printf . "${LZIP}" -t "${testdir}"/test_sync.lz || fail=1 -printf . "${LZIP}" -cd "${testdir}"/test_sync.lz > copy || fail=1 cmp in copy || fail=1 printf . @@ -82,6 +80,11 @@ for i in s4Ki 0 1 2 3 4 5 6 7 8 9 ; do printf . done +"${LZIP}" < in2 > out2 || fail=1 +"${LZIP}" -d < out2 > copy2 || fail=1 +cmp in2 copy2 || fail=1 +printf . + "${LZIP}" < in > anyothername || fail=1 "${LZIP}" -d anyothername || fail=1 cmp in anyothername.out || fail=1 |