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