diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-12-26 13:06:57 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-12-28 16:33:43 +0000 |
commit | d1a1276979c4744587c8a81e2b212c244512e83b (patch) | |
tree | 41a27116209dc6d17e1e1b89eb9b4cd112a72e69 /tests/tail-2/inotify-rotate-resources.sh | |
parent | ed77fb40cae45dda078510841326e1e5ab1dd55f (diff) | |
download | coreutils-d1a1276979c4744587c8a81e2b212c244512e83b.tar.xz |
tests: avoid false fails on NFS due to EPERM
* tests/chgrp/basic.sh: On some NFS setups a user is
not allowed to set a group on a file even if a member
of that group. Therefore skip this test on remote file systems.
* tests/chgrp/default-no-deref.sh: Likewise.
* tests/chgrp/no-x.sh: Likewise.
* tests/chgrp/posix-H.sh: Likewise.
* tests/chgrp/recurse.sh: Likewise.
* tests/tail-2/inotify-rotate-resources.sh: Change to skipping
on remote file systems in the standard way.
Diffstat (limited to 'tests/tail-2/inotify-rotate-resources.sh')
-rwxr-xr-x | tests/tail-2/inotify-rotate-resources.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tail-2/inotify-rotate-resources.sh b/tests/tail-2/inotify-rotate-resources.sh index 5b882023b..a8fef4403 100755 --- a/tests/tail-2/inotify-rotate-resources.sh +++ b/tests/tail-2/inotify-rotate-resources.sh @@ -19,14 +19,14 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ tail +# Inotify not used on remote file systems +require_local_dir_ + grep '^#define HAVE_INOTIFY 1' "$CONFIG_HEADER" >/dev/null \ || skip_ 'inotify required' require_strace_ 'inotify_add_watch,inotify_rm_watch' -# Quickly skip on remote file systems -is_local_dir_ . || skip_ 'inotify not used on remote file system' - check_tail_output() { local delay="$1" |