]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: use tail --debug to determine inotify support
authorPádraig Brady <P@draigBrady.com>
Fri, 14 Nov 2025 17:03:38 +0000 (17:03 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 17 Nov 2025 14:50:04 +0000 (14:50 +0000)
commiteebe2abbb6a582550d88d0ee74be4d4f0bf253bd
tree42ab0594499ede8066c95a062a5829b8fedc1143
parentd611bcbffff10b09fb98923ed1645620c2086e75
tests: use tail --debug to determine inotify support

* init.cfg (require_inotify_supported_): A new function that
indicates inotify support for a file in the current directory,
using tail --debug, rather than awkward strace checks etc.
* tests/tail/inotify-dir-recreate.sh: Call require_inotify_supported_.
 tests/tail/inotify-only-regular.sh: Likewise.
 tests/tail/inotify-race.sh: Likewise.
 tests/tail/inotify-race2.sh: Likewise.
init.cfg
tests/tail/inotify-dir-recreate.sh
tests/tail/inotify-only-regular.sh
tests/tail/inotify-race.sh
tests/tail/inotify-race2.sh