From: Collin Funk Date: Sun, 26 Jul 2026 02:53:45 +0000 (-0700) Subject: tests: avoid a false ERROR when using overlayfs X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=54f88c7f2ed565cbd2b73798f8399bc139dc75cd;p=thirdparty%2Fcoreutils.git tests: avoid a false ERROR when using overlayfs * tests/tail/inotify-rotate-resources.sh: Also skip the test on overlayfs. --- diff --git a/tests/tail/inotify-rotate-resources.sh b/tests/tail/inotify-rotate-resources.sh index 066fdea300..8a3eed3bde 100755 --- a/tests/tail/inotify-rotate-resources.sh +++ b/tests/tail/inotify-rotate-resources.sh @@ -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'