diff options
Diffstat (limited to 'testsuite')
-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 |