diff options
author | Jim Meyering <meyering@redhat.com> | 2008-05-12 14:39:55 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-05-16 10:10:34 +0200 |
commit | ea54b6f47c92525267861e15314c61db83a86352 (patch) | |
tree | 71339a1ffa397b0be5301ee78bdd6529857933be /build-aux | |
parent | 4a4fe636dcef1c71c6aef423be0c6788f9d46c40 (diff) | |
download | coreutils-ea54b6f47c92525267861e15314c61db83a86352.tar.gz |
tests: allow to run Perl tests more cleanly
Before this change, perl tests were run via a #!/bin/sh script
in which perl was invoked via $(PERL) ... -- - <<\EOF.
That made some stty tests fail due to the way stdin was usurped.
* build-aux/check.mk (am__check_pre): Don't append $(SHELL) to this
nominally automake-internal variable.
* tests/check.mk (TESTS_ENVIRONMENT): Instead, define a shell function
here, and append it to the more user-visible $(TESTS_ENVIRONMENT).
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/check.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/check.mk b/build-aux/check.mk index 9cd1b3397..165ea366b 100644 --- a/build-aux/check.mk +++ b/build-aux/check.mk @@ -113,7 +113,7 @@ if test -f "./$$src"; then dir=./; \ elif test -f "$$src"; then dir=; \ else dir="$(srcdir)/"; fi; \ __SAVED_TERM=$$TERM; \ -$(TESTS_ENVIRONMENT) $(SHELL) +$(TESTS_ENVIRONMENT) # To be appended to the command running the test. Handles the stdout # and stderr redirection, and catch the exit status. |