From 6329ac77bde35899f865c4628a35b15ec3626fda Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 6 Apr 2010 09:08:03 +0200 Subject: [PATCH] tests: arrange for skip and failure notices to go to stderr, not .log * tests/init.cfg: New file. Make init.sh's stderr_fileno_ match what the "exec 9>&2" we use in TESTS_ENVIRONMENT. * Makefile.am (EXTRA_DIST): Add it. --- Makefile.am | 1 + tests/init.cfg | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 tests/init.cfg diff --git a/Makefile.am b/Makefile.am index c7ab7f2..d331e03 100644 --- a/Makefile.am +++ b/Makefile.am @@ -120,6 +120,7 @@ TESTS = \ tests/znew-k EXTRA_DIST += $(TESTS) +EXTRA_DIST += tests/init.cfg install-exec-hook: remove-installed-links install-exec-hook remove-installed-links: diff --git a/tests/init.cfg b/tests/init.cfg new file mode 100644 index 0000000..901209c --- /dev/null +++ b/tests/init.cfg @@ -0,0 +1,5 @@ +# This file is sourced by init.sh, *before* its initialization. + +# This goes hand in hand with the "exec 9>&2;" in Makefile.am's +# TESTS_ENVIRONMENT definition. +stderr_fileno_=9 -- 2.47.2