From 1c7d5b58476d5bf5ab8db5d025b7d0820611aae7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 27 Feb 2009 09:12:14 +0100 Subject: tests: when skipping a test, say why on screen, not just in the log * tests/test-lib.sh: Redirect also to descriptor 9. Better one-line why-skip diagnostics. * tests/check.mk (TESTS_ENVIRONMENT): Redirect 9 to stderr. * tests/misc/pwd-unreadable-parent: Remove redundant "skipping..." diag. --- tests/misc/pwd-unreadable-parent | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/misc/pwd-unreadable-parent') diff --git a/tests/misc/pwd-unreadable-parent b/tests/misc/pwd-unreadable-parent index c79daad0c..f5c7ae237 100755 --- a/tests/misc/pwd-unreadable-parent +++ b/tests/misc/pwd-unreadable-parent @@ -3,7 +3,7 @@ # is unreadable. Perform this test only on systems with a usable getcwd # function that has this capability. -# Copyright (C) 2007-2008 Free Software Foundation, Inc. +# Copyright (C) 2007-2009 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ test $host_os != linux-gnu && # Linux ia64 has the gl_FUNC_GETCWD_ABORT_BUG, so we can't use # the system getcwd. test $REPLACE_GETCWD = 1 && - skip_test_ "can't use buggy system getcwd; skipping this test" + skip_test_ "can't use buggy system getcwd" mkdir -p a/b || framework_failure cd a/b || framework_failure -- cgit v1.2.3-54-g00ecf