summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:18:10 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:18:10 +0000
commit9a128a28677f07ec804c5b22d3050181a5cb2b6b (patch)
tree9f599e62fee7c29192b22cb4876bc5a6b4ef0743 /testsuite
parentAdding debian version 0.4-1. (diff)
downloadplzip-9a128a28677f07ec804c5b22d3050181a5cb2b6b.tar.xz
plzip-9a128a28677f07ec804c5b22d3050181a5cb2b6b.zip
Merging upstream version 0.5.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/check.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/check.sh b/testsuite/check.sh
index f71faca..438df1b 100755
--- a/testsuite/check.sh
+++ b/testsuite/check.sh
@@ -23,7 +23,7 @@ echo -n "testing plzip..."
cd "${objdir}"/tmp
cat "${testdir}"/test1 > in || framework_failure
-cat in in in in in > in5 || framework_failure
+cat in in in in > in4 || framework_failure
fail=0
"${LZIP}" -cd "${testdir}"/test1.lz > copy || fail=1
@@ -32,7 +32,7 @@ cmp in copy || fail=1
for i in s4096 1 2 3 4 5 6 7 8; do
"${LZIP}" -k -$i in || fail=1
mv -f in.lz copy.lz || fail=1
- echo -n "garbage" >> copy.lz || fail=1
+# echo -n "garbage" >> copy.lz || fail=1
"${LZIP}" -df copy.lz || fail=1
cmp in copy || fail=1
echo -n .
@@ -40,7 +40,7 @@ done
for i in s4096 1 2 3 4 5 6 7 8; do
"${LZIP}" -c -$i in > out || fail=1
- echo -n "g" >> out || fail=1
+# echo -n "g" >> out || fail=1
"${LZIP}" -cd out > copy || fail=1
cmp in copy || fail=1
echo -n .
@@ -61,9 +61,9 @@ for i in s4096 1 2 3 4 5 6 7 8; do
done
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16; do
- "${LZIP}" -s4096 -n$i < in5 > out5 || fail=1
- "${LZIP}" -d < out5 > copy5 || fail=1
- cmp in5 copy5 || fail=1
+ "${LZIP}" -s4Ki -B8Ki -n$i < in4 > out4 || fail=1
+ "${LZIP}" -d -n$i < out4 > copy4 || fail=1
+ cmp in4 copy4 || fail=1
echo -n .
done