diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-13 05:37:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-13 05:37:08 +0000 |
commit | 4c98c35688353763c07ed51ebc8301022937ab81 (patch) | |
tree | 263299a30bdff7f0715160a42482c55e8b32d856 /testsuite | |
parent | Adding upstream version 1.0. (diff) | |
download | lzd-4c98c35688353763c07ed51ebc8301022937ab81.tar.xz lzd-4c98c35688353763c07ed51ebc8301022937ab81.zip |
Adding upstream version 1.1.upstream/1.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/check.sh | 6 |
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 |