tests: tail-2/inotify-rotate: fix a false failure on NFS
commit71ab11eac1de965e90abf050bf1bbe22eb4ac7b9
authorPádraig Brady <P@draigBrady.com>
Sat, 9 Feb 2013 04:39:40 +0000 (9 04:39 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 10 Feb 2013 05:05:38 +0000 (10 05:05 +0000)
tree7aec7998c78dda331ae92a0e2341ed5af4ac6751
parent54deb54db989dde759410af9918802961c43bc58
tests: tail-2/inotify-rotate: fix a false failure on NFS

* tests/tail-2/inotify-rotate.sh: Avoid a subshell with bash,
which in turn causes the `kill` to be ineffective to the tail
processes (as the SIGTERM is sent to the subshell which doesn't
propagate the signal on to its children).  On NFS the test
cleanup will then fail as there will be .nfs files maintained
in the directory for the files still opened by the tail processes.
Reported by Bernhard Voelker.
tests/tail-2/inotify-rotate.sh