summaryrefslogtreecommitdiff
path: root/tests/tail-2/inotify-rotate-resources.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tail-2/inotify-rotate-resources.sh')
-rwxr-xr-xtests/tail-2/inotify-rotate-resources.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tail-2/inotify-rotate-resources.sh b/tests/tail-2/inotify-rotate-resources.sh
index 5b882023b..a8fef4403 100755
--- a/tests/tail-2/inotify-rotate-resources.sh
+++ b/tests/tail-2/inotify-rotate-resources.sh
@@ -19,14 +19,14 @@
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ tail
+# Inotify not used on remote file systems
+require_local_dir_
+
grep '^#define HAVE_INOTIFY 1' "$CONFIG_HEADER" >/dev/null \
|| skip_ 'inotify required'
require_strace_ 'inotify_add_watch,inotify_rm_watch'
-# Quickly skip on remote file systems
-is_local_dir_ . || skip_ 'inotify not used on remote file system'
-
check_tail_output()
{
local delay="$1"