summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:28:32 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:28:32 +0000
commitdd62a542151874233a5bb6fc06ba9fd38a5f93be (patch)
tree5435f97d7731cd2d5f3c2fc9e10668812ecd5ad8 /testsuite
parentAdding upstream version 0.7. (diff)
downloadplzip-dd62a542151874233a5bb6fc06ba9fd38a5f93be.tar.xz
plzip-dd62a542151874233a5bb6fc06ba9fd38a5f93be.zip
Adding upstream version 0.8.upstream/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 .