diff options
author | Jim Meyering <meyering@redhat.com> | 2011-08-07 22:09:42 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-08-08 10:12:38 +0200 |
commit | 4cf9eb5282d39af448fa385cdd4ec656ad5f943c (patch) | |
tree | 37644ebf76d48e30496d16dc1767792e8cc1cc29 /tests/du | |
parent | 70555790672b5465b4f4167b85c9015d5be1f2fd (diff) | |
download | coreutils-4cf9eb5282d39af448fa385cdd4ec656ad5f943c.tar.xz |
tests: avoid lack-of-support du test failure on HP-UX 11.31
* tests/du/inaccessible-cwd: Skip this test on systems like HP-UX 11.31
that lack both the *at functions and the /proc/self/fd-based support
we might have used to emulate them. Reported by Bruno Haible in
http://debbugs.gnu.org/8846
Diffstat (limited to 'tests/du')
-rwxr-xr-x | tests/du/inaccessible-cwd | 5 |
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` |