From: Jim Meyering Date: Wed, 11 Jan 2012 20:35:41 +0000 (+0100) Subject: tests: make all test scripts executable; work with automake-1.12 X-Git-Tag: v1.5~7 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=fcdcc8474b6210caf8be867f4eeeee250b0d489d;p=debian%2Fgzip 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. --- 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 old mode 100644 new mode 100755 diff --git a/tests/zgrep-f b/tests/zgrep-f old mode 100644 new mode 100755 diff --git a/tests/zgrep-signal b/tests/zgrep-signal old mode 100644 new mode 100755 diff --git a/tests/znew-k b/tests/znew-k old mode 100644 new mode 100755