From: Jim Meyering Date: Tue, 6 Apr 2010 07:08:03 +0000 (+0200) Subject: tests: arrange for skip and failure notices to go to stderr, not .log X-Git-Tag: v1.5~87 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=6329ac77bde35899f865c4628a35b15ec3626fda;p=debian%2Fgzip 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. --- 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