summaryrefslogtreecommitdiff
path: root/tests/tail-2/follow-name
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tail-2/follow-name')
-rwxr-xr-xtests/tail-2/follow-name4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tail-2/follow-name b/tests/tail-2/follow-name
index ef9434a60..e34b77964 100755
--- a/tests/tail-2/follow-name
+++ b/tests/tail-2/follow-name
@@ -27,6 +27,10 @@ EOF
timeout 10 tail --follow=name no-such > out 2> err
test $? = 1 || fail=1
+# Remove an inconsequential inotify warning so
+# we can compare against the above error
+sed '/inotify cannot be used/d' err > k && mv k err
+
compare err exp || fail=1
Exit $fail