tests: avoid false failure in tail inotify test

* 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.
This commit is contained in:
Pádraig Brady committed 2016-01-19 18:50:11 +00:00
1 parent 7c2e423409
commit f967d5bf05
1 file changed
+1 -1
+1 -1
View File
@@ -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()