]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: avoid false failure in tail inotify test
authorPádraig Brady <P@draigBrady.com>
Tue, 19 Jan 2016 18:45:07 +0000 (18:45 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 19 Jan 2016 18:50:11 +0000 (18:50 +0000)
* tests/tail-2/wait.sh: Restrict inotify specific test portion
to local file systems and also not with ---disable-inotify specified.
Failure noticed on NFS.

tests/tail-2/wait.sh

index 008f9f55e99941011cf075aec2c336a21a559b16..59f796abea138b38d4391d92d1a2491dd024f74b 100755 (executable)
@@ -65,7 +65,7 @@ for mode in '' '---disable-inotify'; do
   >tail.err
 done
 
-if test "$HAVE_INOTIFY"; then
+if test "$HAVE_INOTIFY" && test -z "$mode" && is_local_dir_ .; then
   # Ensure -F never follows a descriptor after rename
   # either with tiny or significant delays between operations
   tail_F()