* tests/rm/inaccessible: Adjust for movement of config.h to lib/.

This commit is contained in:
Jim Meyering 2006-09-03 07:18:52 +00:00
parent ae325b5b97
commit 31ca1f9aec
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-09-03 Jim Meyering <jim@meyering.net>
* tests/rm/inaccessible: Adjust for movement of config.h to lib/.
2006-09-02 Paul Eggert <eggert@cs.ucla.edu> 2006-09-02 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: rm now rejects attempts to remove /, ./, and ../. * NEWS: rm now rejects attempts to remove /, ./, and ../.

View File

@ -30,7 +30,7 @@ PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
# Skip this test if your system has neither the openat-style functions # Skip this test if your system has neither the openat-style functions
# nor /proc/self/fd support with which to emulate them. # nor /proc/self/fd support with which to emulate them.
skip=yes skip=yes
grep '^#define HAVE_OPENAT' $top_srcdir/config.h > /dev/null && skip=no grep '^#define HAVE_OPENAT' $top_srcdir/lib/config.h > /dev/null && skip=no
test -d /proc/self/fd && skip=no test -d /proc/self/fd && skip=no
if test $skip = yes; then if test $skip = yes; then
echo 1>&2 "$0: no openat support, so skipping this test" echo 1>&2 "$0: no openat support, so skipping this test"