]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: tail/overlay-headers.sh: fix various issues
authorPádraig Brady <P@draigBrady.com>
Wed, 7 Jan 2026 20:29:54 +0000 (20:29 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 8 Jan 2026 12:08:14 +0000 (12:08 +0000)
commite1cbe82cc6131b2cb8441b948f75a0eb28bdcc40
treee6833575facd7edb48114974b503ae11458ff442
parent30d296dcb8d52dc89edbfcbe9896285b01227212
tests: tail/overlay-headers.sh: fix various issues

* tests/tail/overlay-headers.sh (cleanup_): Ensure we send SIGCONT
to the tail process, otherwise we would hang if the test is terminated
while the tail process is in stopped state.
(wait4stopped_): A new function to ensure tail is in the stopped state
before we start writing to the monitored files.
Also remove "---disable-inotify" from $fastpoll so we actually
test the inotify code (where supported).
Also remove the timeout(1) wrapper, so we actually suspend tail(1).

Reported by Bruno Haible on macOS 26
tests/tail/overlay-headers.sh