diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 14:25:03 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 14:25:03 +0000 |
commit | 89e9e81557d766e9db5034ed9b9f660323fd4c62 (patch) | |
tree | cac45c3861bbbd7a25e3dc0cc49542144303f533 /testsuite | |
parent | Adding upstream version 1.0. (diff) | |
download | pdlzip-89e9e81557d766e9db5034ed9b9f660323fd4c62.tar.xz pdlzip-89e9e81557d766e9db5034ed9b9f660323fd4c62.zip |
Adding upstream version 1.1.upstream/1.1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rwxr-xr-x | testsuite/check.sh | 8 | ||||
-rw-r--r-- | testsuite/test.lz (renamed from testsuite/test1.lz) | bin | 11540 -> 11540 bytes | |||
-rw-r--r-- | testsuite/test.lzma | bin | 0 -> 11535 bytes | |||
-rw-r--r-- | testsuite/test.txt (renamed from testsuite/test1) | 0 |
4 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 diff --git a/testsuite/test1.lz b/testsuite/test.lz Binary files differindex a09b1e8..a09b1e8 100644 --- a/testsuite/test1.lz +++ b/testsuite/test.lz diff --git a/testsuite/test.lzma b/testsuite/test.lzma Binary files differnew file mode 100644 index 0000000..5f62956 --- /dev/null +++ b/testsuite/test.lzma diff --git a/testsuite/test1 b/testsuite/test.txt index 5b244d5..5b244d5 100644 --- a/testsuite/test1 +++ b/testsuite/test.txt |