tests: avoid a false ERROR when using overlayfs

* tests/tail/inotify-rotate-resources.sh: Also skip the test on
overlayfs.
This commit is contained in:
Collin Funk committed 2026-07-25 20:33:06 -07:00
1 parent e79a9f36d8
commit 54f88c7f2e
1 file changed
+5
+5
View File
@@ -22,6 +22,11 @@ print_ver_ tail
# Inotify not used on remote file systems
require_local_dir_
# We don't use inotify on overlayfs.
# See the comments in human_fstype from src/stat.c.
test "$(stat -f -c "%T" .)" != overlayfs \
|| skip_ 'inotify is not used on overlayfs'
grep '^#define HAVE_INOTIFY 1' "$CONFIG_HEADER" >/dev/null \
|| skip_ 'inotify required'