git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5098636
)
ctdb-tests: Explicitly search for the specific log entry
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 7 Mar 2017 05:52:26 +0000
(16:52 +1100)
committer
Martin Schwenke
<martins@samba.org>
Mon, 15 May 2017 02:07:13 +0000
(
04:07
+0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12792
... instead of expecting the last line to be the matching log entry.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/eventd/eventd_051.sh
patch
|
blob
|
history
diff --git
a/ctdb/tests/eventd/eventd_051.sh
b/ctdb/tests/eventd/eventd_051.sh
index 213965a6149a084bd7b7e66dc7f7da091c52c335..46162de82c92222faf229d95691e305f4394131f 100755
(executable)
--- a/
ctdb/tests/eventd/eventd_051.sh
+++ b/
ctdb/tests/eventd/eventd_051.sh
@@
-20,4
+20,4
@@
simple_test run monitor 30
required_result 0 <<EOF
ctdb-eventd[PID]: 01.test: Running event monitor
EOF
-unit_test
tail -n 1
"$eventd_logfile"
+unit_test
grep "01.test:"
"$eventd_logfile"