. "$srcdir/init.sh"; path_prepend_ ..
# This test case was provided by Aki Helin.
-printf '\037\235\220\0\0\0\304' > helin.gz || framework_failure
-printf '\0\0' > exp || framework_failure
+printf '\037\235\220\0\0\0\304' > helin.gz || framework_failure_
+printf '\0\0' > exp || framework_failure_
fail=0
. "$srcdir/init.sh"; path_prepend_ ..
printf '\n...: invalid compressed data--format violated\n' > exp \
- || framework_failure
+ || framework_failure_
fail=0
gzip -dc "$abs_srcdir/hufts-segv.gz" > out 2> err
# The input must be larger than 32KiB and slightly
# less uniform than e.g., all zeros.
-printf wxy%032767d 0 | tee in | gzip > in.gz || framework_failure
+printf wxy%032767d 0 | tee in | gzip > in.gz || framework_failure_
fail=0
: ${srcdir=.}
. "$srcdir/init.sh"; path_prepend_ ..
-printf 'xxx\nyyy\n' > exp2 || framework_failure
-printf 'aaa\nbbb\nccc\n' > exp3 || framework_failure
+printf 'xxx\nyyy\n' > exp2 || framework_failure_
+printf 'aaa\nbbb\nccc\n' > exp3 || framework_failure_
fail=0
: ${srcdir=.}
. "$srcdir/init.sh"; path_prepend_ ..
-printf anything | gzip > F.gz || framework_failure
-echo y > yes || framework_failure
-echo "gzip: invalid suffix ''" > expected-err || framework_failure
+printf anything | gzip > F.gz || framework_failure_
+echo y > yes || framework_failure_
+echo "gzip: invalid suffix ''" > expected-err || framework_failure_
fail=0
: ${srcdir=.}
. "$srcdir/init.sh"; path_prepend_ ..
-printf a | gzip > in || framework_failure
-printf aaa > exp || framework_failure
+printf a | gzip > in || framework_failure_
+printf aaa > exp || framework_failure_
fail=0
gzip -dc in - in < in > out 2>err || fail=1
: ${srcdir=.}
. "$srcdir/init.sh"; path_prepend_ ..
-(echo 0 | gzip; printf '\0') > 0.gz || framework_failure
-(echo 00 | gzip; printf '\0\0') > 00.gz || framework_failure
-(echo 1 | gzip; printf '\1') > 1.gz || framework_failure
+(echo 0 | gzip; printf '\0') > 0.gz || framework_failure_
+(echo 00 | gzip; printf '\0\0') > 00.gz || framework_failure_
+(echo 1 | gzip; printf '\1') > 1.gz || framework_failure_
fail=0
: ${srcdir=.}
. "$srcdir/init.sh"; path_prepend_ ..
-echo a > a || framework_failure
-echo b > b || framework_failure
-gzip a b || framework_failure
+echo a > a || framework_failure_
+echo b > b || framework_failure_
+gzip a b || framework_failure_
cat <<EOF > exp
1c1
require_POSIX_grep_
-echo needle > n || framework_failure
-echo needle > haystack || framework_failure
-gzip haystack || framework_failure
+echo needle > n || framework_failure_
+echo needle > haystack || framework_failure_
+gzip haystack || framework_failure_
fail=0
zgrep -f - haystack.gz < n > out 2>&1 || fail=1
: ${srcdir=.}
. "$srcdir/init.sh"; path_prepend_ ..
-echo a | gzip -c > f.gz || framework_failure
+echo a | gzip -c > f.gz || framework_failure_
fail=0
status=$(exec 3>&1; (zgrep a f.gz f.gz; echo $? >&3) | :) ||
- framework_failure
+ framework_failure_
test "$status" = 141 || fail=1
: ${srcdir=.}
. "$srcdir/init.sh"; path_prepend_ ..
-cat <<'EOF' >compress || framework_failure
+cat <<'EOF' >compress || framework_failure_
#!/bin/sh
echo >&2 'compress has been invoked'
exit 1
EOF
-chmod +x compress || framework_failure
+chmod +x compress || framework_failure_
# Note that the basename must have a length of 6 or greater.
# Otherwise, "test -f $name" below would fail.
name=123456.Z
-printf '%1012977s' ' ' | gzip -c > $name || framework_failure
+printf '%1012977s' ' ' | gzip -c > $name || framework_failure_
fail=0