From 5eff2e98bd094757d69bc247acf07faa4a0b1b26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 24 Feb 2018 14:29:16 +0100 Subject: Merging upstream version 1.7. Signed-off-by: Daniel Baumann --- testsuite/check.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'testsuite') diff --git a/testsuite/check.sh b/testsuite/check.sh index 3986d71..a1ea5da 100755 --- a/testsuite/check.sh +++ b/testsuite/check.sh @@ -1,6 +1,6 @@ #! /bin/sh # check script for Zutils - Utilities dealing with compressed files -# Copyright (C) 2009-2017 Antonio Diaz Diaz. +# Copyright (C) 2009-2018 Antonio Diaz Diaz. # # This script is free software: you have unlimited permission # to copy, distribute and modify it. @@ -41,6 +41,8 @@ cd "${objdir}"/tmp || framework_failure for i in ${compressors}; do cat "${testdir}"/test.txt > in || framework_failure $i in || compressor_needed + printf "Hello World!\n" > hello || framework_failure + $i hello || compressor_needed done cat "${testdir}"/test.txt > in || framework_failure @@ -234,6 +236,10 @@ printf "\ntesting zgrep-%s..." "$2" for i in ${extensions}; do "${ZGREP}" -N "GNU" in.$i > /dev/null || test_failed $LINENO $i + "${ZGREP}" -N "GNU" in.$i hello.$i > /dev/null || test_failed $LINENO $i + "${ZGREP}" -N "GNU" hello.$i in.$i > /dev/null || test_failed $LINENO $i + "${ZGREP}" -N -q "GNU" in.$i hello.$i || test_failed $LINENO $i + "${ZGREP}" -N -q "GNU" hello.$i in.$i || test_failed $LINENO $i "${ZGREP}" -N "GNU" < in.$i > /dev/null || test_failed $LINENO $i "${ZGREP}" -N -l "GNU" in.$i > /dev/null || test_failed $LINENO $i "${ZGREP}" -N -L "GNU" in.$i || test_failed $LINENO $i -- cgit v1.2.3