From 471eca0dd6ed83d1faffdb0133cf4d0d58d7279f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 24 Feb 2007 20:57:14 +0100 Subject: Don't skip this test on new-enough Linux/GNU systems. * tests/misc/pwd-unreadable-parent: Test $REPLACE_GETCWD = 0, rather than for __GETCWD_PREFIX in config.h (the latter is no longer defined, ever, due to gnulib changes). * tests/misc/Makefile.am (TESTS_ENVIRONMENT): Define REPLACE_GETCWD. --- tests/misc/pwd-unreadable-parent | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/misc/pwd-unreadable-parent') diff --git a/tests/misc/pwd-unreadable-parent b/tests/misc/pwd-unreadable-parent index 35d4f1816..ace73f957 100755 --- a/tests/misc/pwd-unreadable-parent +++ b/tests/misc/pwd-unreadable-parent @@ -28,10 +28,9 @@ fi skip=1 # Run this test IFF: -# if __GETCWD_PREFIX is not defined (system getcwd is good enough) +# if REPLACE_GETCWD is 0 (system getcwd is good enough) # or HAVE_PARTLY_WORKING_GETCWD is defined -grep '^/\* #undef __GETCWD_PREFIX ' $CONFIG_HEADER > /dev/null && - skip=0 +test $REPLACE_GETCWD = 0 && skip=0 test $skip = 1 && grep '^#define HAVE_PARTLY_WORKING_GETCWD ' $CONFIG_HEADER > /dev/null && skip=0 -- cgit v1.2.3-54-g00ecf