projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add condition-targeting error query
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_notification_notifier_discarded_count
diff --git
a/tests/regression/tools/notification/test_notification_notifier_discarded_count
b/tests/regression/tools/notification/test_notification_notifier_discarded_count
index 47793b8b8db14f0e6f169725d29001d09ab41f55..c9235393ef27cfba645d62eb0f5be132a432ba60 100755
(executable)
--- a/
tests/regression/tools/notification/test_notification_notifier_discarded_count
+++ b/
tests/regression/tools/notification/test_notification_notifier_discarded_count
@@
-41,13
+41,13
@@
function trigger_get_discarded_notif_number()
"$FULL_LTTNG_BIN" list-triggers > "$list_triggers_stdout"
"$FULL_LTTNG_BIN" list-triggers > "$list_triggers_stdout"
- cat "$list_triggers_stdout" | grep -
a7 "$trigger_name
" | tail -1 | grep --quiet "errors: none"
+ cat "$list_triggers_stdout" | grep -
A7 "$trigger_name" | grep -A2 "event rule matches
" | tail -1 | grep --quiet "errors: none"
ret=$?
if [ "$ret" -eq "0" ]; then
notif_nb="0"
else
ret=$?
if [ "$ret" -eq "0" ]; then
notif_nb="0"
else
- notif_nb=$(cat "$list_triggers_stdout" | grep -
a8 "$trigger_name" | tail -1 | grep "discarded tracer messages" | cut -d' ' -f8
)
+ notif_nb=$(cat "$list_triggers_stdout" | grep -
A7 "$trigger_name" | grep "discarded tracer messages" | cut -d' ' -f10
)
fi
rm -f "$list_triggers_stdout"
fi
rm -f "$list_triggers_stdout"
This page took
0.024771 seconds
and
4
git commands to generate.