diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:18:02 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:18:02 +0000 |
commit | 745033b223d0c73153911d65dae915d36866a04d (patch) | |
tree | 2aefd6f5328600e51895a1d1839871a12316cb0d /testsuite | |
parent | Adding upstream version 0.4. (diff) | |
download | plzip-745033b223d0c73153911d65dae915d36866a04d.tar.xz plzip-745033b223d0c73153911d65dae915d36866a04d.zip |
Adding upstream version 0.5.upstream/0.5
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rwxr-xr-x | testsuite/check.sh | 12 |
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 |