From f967d5bf058cd5fe7f5ed38758d97655f4ad35fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Tue, 19 Jan 2016 18:45:07 +0000 Subject: [PATCH] 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. --- tests/tail-2/wait.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tail-2/wait.sh b/tests/tail-2/wait.sh index 008f9f55e..59f796abe 100755 --- a/tests/tail-2/wait.sh +++ b/tests/tail-2/wait.sh @@ -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()