From fcdcc8474b6210caf8be867f4eeeee250b0d489d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 11 Jan 2012 21:35:41 +0100 Subject: [PATCH] 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. --- tests/Makefile.am | 3 +-- tests/mixed | 0 tests/zgrep-f | 0 tests/zgrep-signal | 0 tests/znew-k | 0 5 files changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 tests/mixed mode change 100644 => 100755 tests/zgrep-f mode change 100644 => 100755 tests/zgrep-signal mode change 100644 => 100755 tests/znew-k 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 -- 2.47.2