projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb0f4a
)
tests: avoid a false failure on systems without inotify
author
Pádraig Brady
<P@draigBrady.com>
Sun, 9 Oct 2011 10:25:34 +0000
(11:25 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Wed, 12 Oct 2011 08:56:04 +0000
(10:56 +0200)
* tests/tail-2/follow-name: Exclude the inotify warning
from the comparison.
Reported by Bruno Haible.
tests/tail-2/follow-name
patch
|
blob
|
history
diff --git
a/tests/tail-2/follow-name
b/tests/tail-2/follow-name
index
ef9434a
..
e34b779
100755
(executable)
--- 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