summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:28:38 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:28:38 +0000
commit891c72a3374b810770cc6d85cb703ae158497d6f (patch)
tree8dcb364bfefef691ae2a6ad970b70cb7f7f760fb /testsuite
parentAdding debian version 0.7-5. (diff)
downloadplzip-891c72a3374b810770cc6d85cb703ae158497d6f.tar.xz
plzip-891c72a3374b810770cc6d85cb703ae158497d6f.zip
Merging upstream version 0.8.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/check.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/check.sh b/testsuite/check.sh
index c640b3b..d4f919a 100755
--- a/testsuite/check.sh
+++ b/testsuite/check.sh
@@ -19,13 +19,14 @@ fi
if [ -d tmp ] ; then rm -rf tmp ; fi
mkdir tmp
-printf "testing plzip-%s..." "$2"
cd "${objdir}"/tmp
cat "${testdir}"/test.txt > in || framework_failure
cat in in in in > in4 || framework_failure
fail=0
+printf "testing plzip-%s..." "$2"
+
"${LZIP}" -t "${testdir}"/test_v0.lz || fail=1
printf .
"${LZIP}" -cd "${testdir}"/test_v0.lz > copy || fail=1
@@ -69,8 +70,8 @@ for i in s4Ki 0 1 2 3 4 5 6 7 8 9 ; do
printf .
done
-"${LZIP}" -$i < in > anyothername || fail=1
-"${LZIP}" -dq anyothername || fail=1
+"${LZIP}" < in > anyothername || fail=1
+"${LZIP}" -d anyothername || fail=1
cmp in anyothername.out || fail=1
printf .