mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-27 01:44:20 +00:00
tests: use more portable fd redirection in TESTS_ENVIRONMENT
* tests/Makefile.am (TESTS_ENVIRONMENT): Redirection with `exec 9>&2' is not portable to various Korn shells, and to (at least) HP-UX 11 /bin/sh. Use a more portable idiom. See http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488 for lots of discussion.
This commit is contained in:
parent
366adeb73d
commit
5e2baecb26
@ -21,7 +21,6 @@ EXTRA_DIST = \
|
||||
TESTS_ENVIRONMENT = \
|
||||
tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.; \
|
||||
TMPDIR=$$tmp__; export TMPDIR; \
|
||||
exec 9>&2; \
|
||||
export \
|
||||
VERSION='$(VERSION)' \
|
||||
abs_top_builddir='$(abs_top_builddir)' \
|
||||
@ -40,7 +39,7 @@ TESTS_ENVIRONMENT = \
|
||||
PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
|
||||
REPLACE_GETCWD=$(REPLACE_GETCWD) \
|
||||
PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
|
||||
;
|
||||
; 9>&2
|
||||
|
||||
LOG_COMPILER= $(SHELL)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user