summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-04-06 11:38:29 +0200
committerJim Meyering <meyering@redhat.com>2010-04-06 18:28:57 +0200
commit729b8fc4b4c799ecaaea1a838e864efe3deb494a (patch)
tree79990a59a1cff46b932fe221c0c4ab8d33acf1a7 /tests
parent7516ae5f0c09d32001dfd9f30c8165faada304ab (diff)
downloadgzip-729b8fc4b4c799ecaaea1a838e864efe3deb494a.tar.gz
tests: s/framework_failure/framework_failure_/
Diffstat (limited to 'tests')
-rwxr-xr-xtests/helin-segv4
-rwxr-xr-xtests/hufts2
-rwxr-xr-xtests/memcpy-abuse2
-rw-r--r--tests/mixed4
-rwxr-xr-xtests/null-suffix-clobber6
-rwxr-xr-xtests/stdin4
-rwxr-xr-xtests/trailing-nul6
-rwxr-xr-xtests/zdiff6
-rw-r--r--tests/zgrep-f6
-rw-r--r--tests/zgrep-signal4
-rw-r--r--tests/znew-k6
11 files changed, 25 insertions, 25 deletions
diff --git a/tests/helin-segv b/tests/helin-segv
index fa54fa0..d0f8567 100755
--- a/tests/helin-segv
+++ b/tests/helin-segv
@@ -21,8 +21,8 @@
. "$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
diff --git a/tests/hufts b/tests/hufts
index 5a70a2a..dc895af 100755
--- a/tests/hufts
+++ b/tests/hufts
@@ -21,7 +21,7 @@
. "$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
diff --git a/tests/memcpy-abuse b/tests/memcpy-abuse
index 912c3bb..5d2256a 100755
--- a/tests/memcpy-abuse
+++ b/tests/memcpy-abuse
@@ -23,7 +23,7 @@
# 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
diff --git a/tests/mixed b/tests/mixed
index 7595ca3..c3775c8 100644
--- a/tests/mixed
+++ b/tests/mixed
@@ -21,8 +21,8 @@
: ${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
diff --git a/tests/null-suffix-clobber b/tests/null-suffix-clobber
index da4fc0f..36cd9b4 100755
--- a/tests/null-suffix-clobber
+++ b/tests/null-suffix-clobber
@@ -20,9 +20,9 @@
: ${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
diff --git a/tests/stdin b/tests/stdin
index ee52a33..c7459c6 100755
--- a/tests/stdin
+++ b/tests/stdin
@@ -20,8 +20,8 @@
: ${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
diff --git a/tests/trailing-nul b/tests/trailing-nul
index 8a5ab07..63bae48 100755
--- a/tests/trailing-nul
+++ b/tests/trailing-nul
@@ -21,9 +21,9 @@
: ${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
diff --git a/tests/zdiff b/tests/zdiff
index 5a8b15a..505b93f 100755
--- a/tests/zdiff
+++ b/tests/zdiff
@@ -21,9 +21,9 @@
: ${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
diff --git a/tests/zgrep-f b/tests/zgrep-f
index 87b9577..cf4b602 100644
--- a/tests/zgrep-f
+++ b/tests/zgrep-f
@@ -23,9 +23,9 @@
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
diff --git a/tests/zgrep-signal b/tests/zgrep-signal
index 2454423..1b96237 100644
--- a/tests/zgrep-signal
+++ b/tests/zgrep-signal
@@ -21,12 +21,12 @@
: ${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
diff --git a/tests/znew-k b/tests/znew-k
index d49b971..e7ca443 100644
--- a/tests/znew-k
+++ b/tests/znew-k
@@ -20,18 +20,18 @@
: ${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