summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:45:24 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:45:24 +0000
commit53d61f05fc82d86829666485c0012780c1c93da2 (patch)
treeec05873b6fec3fd5f57543449a1a459ccd5190f0 /testsuite
parentAdding upstream version 1.1. (diff)
downloadlzlib-53d61f05fc82d86829666485c0012780c1c93da2.tar.xz
lzlib-53d61f05fc82d86829666485c0012780c1c93da2.zip
Adding upstream version 1.2.upstream/1.2
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rwxr-xr-xtestsuite/check.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/check.sh b/testsuite/check.sh
index be6204b..b74e550 100755
--- a/testsuite/check.sh
+++ b/testsuite/check.sh
@@ -45,6 +45,13 @@ printf .
cmp in copy || fail=1
printf .
+"${LZIP}" -cf "${testdir}"/test_v1.lz > out 2>/dev/null
+if [ $? != 1 ] ; then fail=1 ; printf - ; else printf . ; fi
+"${LZIP}" -cF "${testdir}"/test_v1.lz > out || fail=1
+"${LZIP}" -cd out | "${LZIP}" -d > copy || fail=1
+cmp in copy || fail=1
+printf .
+
for i in s4Ki 0 1 2 3 4 5 6 7 8s16 9s16 ; do
"${LZIP}" -k -$i in || fail=1
mv -f in.lz copy.lz || fail=1
@@ -77,7 +84,7 @@ for i in s4Ki 0 1 2 3 4 5 6 7 8s16 9s16 ; do
done
"${LZIP}" -$i < in > anyothername || fail=1
-"${LZIP}" -dq anyothername || fail=1
+"${LZIP}" -d anyothername || fail=1
cmp in anyothername.out || fail=1
printf .