summaryrefslogtreecommitdiff
path: root/tests/du
diff options
context:
space:
mode:
Diffstat (limited to 'tests/du')
-rwxr-xr-xtests/du/inaccessible-cwd5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/du/inaccessible-cwd b/tests/du/inaccessible-cwd
index 2f16782d1..77e23a31b 100755
--- a/tests/du/inaccessible-cwd
+++ b/tests/du/inaccessible-cwd
@@ -22,6 +22,11 @@
. "${srcdir=.}/init.sh"; path_prepend_ ../src
print_ver_ du
+
+# Skip this test if your system has neither the openat-style functions
+# nor /proc/self/fd support with which to emulate them.
+require_openat_support_
+
skip_if_root_
cwd=`pwd`