summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-01-19 18:45:07 +0000
committerPádraig Brady <P@draigBrady.com>2016-01-19 18:50:11 +0000
commitf967d5bf058cd5fe7f5ed38758d97655f4ad35fd (patch)
treed4d5ee0cd1e5637943e868769614f596545cb32f
parent7c2e4234093542c61c6c0c7e2a91878f602dbf22 (diff)
downloadcoreutils-f967d5bf058cd5fe7f5ed38758d97655f4ad35fd.tar.xz
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.
-rwxr-xr-xtests/tail-2/wait.sh2
1 files changed, 1 insertions, 1 deletions
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()