summaryrefslogtreecommitdiff
path: root/tests/rm/inaccessible
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/inaccessible')
-rwxr-xr-xtests/rm/inaccessible2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/inaccessible b/tests/rm/inaccessible
index 37c86b318..e2c3cd791 100755
--- a/tests/rm/inaccessible
+++ b/tests/rm/inaccessible
@@ -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
# nor /proc/self/fd support with which to emulate them.
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
if test $skip = yes; then
echo 1>&2 "$0: no openat support, so skipping this test"