summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-11 21:35:41 +0100
committerJim Meyering <meyering@redhat.com>2012-01-11 21:35:41 +0100
commitfcdcc8474b6210caf8be867f4eeeee250b0d489d (patch)
tree30054649513a694136a7f7f2dd7402819178e146
parent9e61483eb1f62e4bd4b1c2a2492d4b46294abd0c (diff)
downloadgzip-fcdcc8474b6210caf8be867f4eeeee250b0d489d.tar.gz
tests: make all test scripts executable; work with automake-1.12
* tests/Makefile.am (TESTS_ENVIRONMENT): Adapt to work with upcoming automake-1.12. * tests/mixed: Make executable. * tests/zgrep-f: Likewise. * tests/zgrep-signal: Likewise. * tests/znew-k: Likewise.
-rw-r--r--tests/Makefile.am3
-rwxr-xr-x[-rw-r--r--]tests/mixed0
-rwxr-xr-x[-rw-r--r--]tests/zgrep-f0
-rwxr-xr-x[-rw-r--r--]tests/zgrep-signal0
-rwxr-xr-x[-rw-r--r--]tests/znew-k0
5 files changed, 1 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9e4b241..3b6ec31 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -52,7 +52,6 @@ built_programs = \
TESTS_ENVIRONMENT = \
tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.; \
TMPDIR=$$tmp__; export TMPDIR; \
- exec 9>&2; \
shell_or_perl_() { \
if grep '^\#!/usr/bin/perl' "$$1" > /dev/null; then \
if $(PERL) -e 'use warnings' > /dev/null 2>&1; then \
@@ -85,6 +84,6 @@ TESTS_ENVIRONMENT = \
PERL='$(PERL)' \
SHELL='$(SHELL)' \
PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'"$$PATH" \
- ; shell_or_perl_
+ ; 9>&2
VERBOSE = yes
diff --git a/tests/mixed b/tests/mixed
index fbba860..fbba860 100644..100755
--- a/tests/mixed
+++ b/tests/mixed
diff --git a/tests/zgrep-f b/tests/zgrep-f
index c494706..c494706 100644..100755
--- a/tests/zgrep-f
+++ b/tests/zgrep-f
diff --git a/tests/zgrep-signal b/tests/zgrep-signal
index 8b4e8d0..8b4e8d0 100644..100755
--- a/tests/zgrep-signal
+++ b/tests/zgrep-signal
diff --git a/tests/znew-k b/tests/znew-k
index 0e60e94..0e60e94 100644..100755
--- a/tests/znew-k
+++ b/tests/znew-k