summaryrefslogtreecommitdiffstats
path: root/testsuite/check.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:25:10 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:25:10 +0000
commit6e28aeaf5536d0286476c71e5f7c7e20cbc17036 (patch)
tree00e0a83335bbfbf765c8660ab27a199f0c68fce5 /testsuite/check.sh
parentAdding debian version 1.0-1. (diff)
downloadpdlzip-6e28aeaf5536d0286476c71e5f7c7e20cbc17036.tar.xz
pdlzip-6e28aeaf5536d0286476c71e5f7c7e20cbc17036.zip
Merging upstream version 1.1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'testsuite/check.sh')
-rwxr-xr-xtestsuite/check.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/check.sh b/testsuite/check.sh
index 24e44df..c619507 100755
--- a/testsuite/check.sh
+++ b/testsuite/check.sh
@@ -22,10 +22,14 @@ mkdir tmp
printf "testing pdlzip..."
cd "${objdir}"/tmp
-cat "${testdir}"/test1 > in || framework_failure
+cat "${testdir}"/test.txt > in || framework_failure
fail=0
-"${LZIP}" -cd "${testdir}"/test1.lz > copy || fail=1
+"${LZIP}" -t "${testdir}"/test.lz || fail=1
+"${LZIP}" -cd "${testdir}"/test.lz > copy || fail=1
+cmp in copy || fail=1
+"${LZIP}" -t "${testdir}"/test.lzma || fail=1
+"${LZIP}" -cd "${testdir}"/test.lzma > copy || fail=1
cmp in copy || fail=1
for i in s4Ki 0 1 2 3 4 5 6 7 8s16 9s16 ; do