mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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:
1 parent
e79a9f36d8
commit
54f88c7f2e
1 file changed
+5
@@ -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'
|
||||
|
||||
|
||||
Reference in new issue
Block a user