]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: avoid lack-of-support du test failure on HP-UX 11.31
authorJim Meyering <meyering@redhat.com>
Sun, 7 Aug 2011 20:09:42 +0000 (22:09 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 8 Aug 2011 08:12:38 +0000 (10:12 +0200)
* 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

tests/du/inaccessible-cwd

index 2f16782d1886c0bda673dadf01dd5265f3beb0d9..77e23a31bba415d370e4a443708cc0902ec0f6f3 100755 (executable)
 
 . "${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`