summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:25:03 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:25:03 +0000
commit89e9e81557d766e9db5034ed9b9f660323fd4c62 (patch)
treecac45c3861bbbd7a25e3dc0cc49542144303f533 /testsuite
parentAdding upstream version 1.0. (diff)
downloadpdlzip-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-xtestsuite/check.sh8
-rw-r--r--testsuite/test.lz (renamed from testsuite/test1.lz)bin11540 -> 11540 bytes
-rw-r--r--testsuite/test.lzmabin0 -> 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
index a09b1e8..a09b1e8 100644
--- a/testsuite/test1.lz
+++ b/testsuite/test.lz
Binary files differ
diff --git a/testsuite/test.lzma b/testsuite/test.lzma
new file mode 100644
index 0000000..5f62956
--- /dev/null
+++ b/testsuite/test.lzma
Binary files differ
diff --git a/testsuite/test1 b/testsuite/test.txt
index 5b244d5..5b244d5 100644
--- a/testsuite/test1
+++ b/testsuite/test.txt