summaryrefslogtreecommitdiff
path: root/tests/null-suffix-clobber
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-04-06 10:56:16 +0200
committerJim Meyering <meyering@redhat.com>2010-04-06 18:28:57 +0200
commit6f8485944fd83d4211fad3417151c956661ec410 (patch)
tree1c26f5fa5190594130d73796440c2745c1c28bb0 /tests/null-suffix-clobber
parent9e0494673c35e57ff98f4516a2ba5b9cf180e4e7 (diff)
downloadgzip-6f8485944fd83d4211fad3417151c956661ec410.tar.gz
tests: run most tests via tests/Makefile.am
* Makefile.am (SUBDIRS): List tests after ".". Move most test-related things from here to ... * tests/Makefile.am: ... here. * configure.ac (AC_CONFIG_FILES): Add tests/Makefile. * tests/helin-segv: Adjust. * tests/help-version: Likewise. * tests/hufts: Likewise. * tests/memcpy-abuse: Likewise. * tests/mixed: Likewise. * tests/null-suffix-clobber: Likewise. * tests/stdin: Likewise. * tests/trailing-nul: Likewise. * tests/zdiff: Likewise. * tests/zgrep-f: Likewise. * tests/zgrep-signal: Likewise. * tests/znew-k: Likewise.
Diffstat (limited to 'tests/null-suffix-clobber')
-rwxr-xr-xtests/null-suffix-clobber7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/null-suffix-clobber b/tests/null-suffix-clobber
index e5b52a1..da4fc0f 100755
--- a/tests/null-suffix-clobber
+++ b/tests/null-suffix-clobber
@@ -17,13 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# limit so don't run it by default.
-if test "$VERBOSE" = yes; then
- set -x
- gzip --version
-fi
-
: ${srcdir=.}
-. "$srcdir/tests/init.sh"
+. "$srcdir/init.sh"; path_prepend_ ..
printf anything | gzip > F.gz || framework_failure
echo y > yes || framework_failure