summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-13 05:37:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-13 05:37:38 +0000
commit57124cf6eec7333e2a5d08e7b4ce55425dae3229 (patch)
tree6ef59c6a572db80bcfa46f04baad5574af2beeed /testsuite
parentReleasing debian version 1.0-7. (diff)
downloadlzd-57124cf6eec7333e2a5d08e7b4ce55425dae3229.tar.xz
lzd-57124cf6eec7333e2a5d08e7b4ce55425dae3229.zip
Merging upstream version 1.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/check.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/check.sh b/testsuite/check.sh
index 71cabc4..eb83163 100755
--- a/testsuite/check.sh
+++ b/testsuite/check.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-# check script for Lzd - Educational decompressor for lzip files
-# Copyright (C) 2013-2017 Antonio Diaz Diaz.
+# check script for Lzd - Educational decompressor for the lzip format
+# Copyright (C) 2013-2019 Antonio Diaz Diaz.
#
# This script is free software: you have unlimited permission
# to copy, distribute and modify it.
@@ -60,12 +60,14 @@ if dd if=in3.lz of=trunc.lz bs=14752 count=1 2> /dev/null &&
else
printf "\nwarning: skipping truncation test: 'dd' does not work on your system."
fi
+rm -f in2.lz in3.lz trunc.lz out || framework_failure
cat "${in_lz}" > ingin.lz || framework_failure
printf "g" >> ingin.lz || framework_failure
cat "${in_lz}" >> ingin.lz || framework_failure
"${LZIP}" < ingin.lz > copy || test_failed $LINENO
cmp "${in}" copy || test_failed $LINENO
+rm -f copy ingin.lz || framework_failure
echo
if [ ${fail} = 0 ] ; then