From: Pádraig Brady Date: Tue, 19 Jan 2016 18:45:07 +0000 (+0000) Subject: tests: avoid false failure in tail inotify test X-Git-Tag: v8.25~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f967d5bf058cd5fe7f5ed38758d97655f4ad35fd;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/tail-2/wait.sh b/tests/tail-2/wait.sh index 008f9f55e9..59f796abea 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()