projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
on-event evaluation: introduce on-event evaluation specific status code
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_notification_ust_error
diff --git
a/tests/regression/tools/notification/test_notification_ust_error
b/tests/regression/tools/notification/test_notification_ust_error
index 53c3959a273d94922bd472d63f398ca29cc58946..57de30df852cb9a98011b64fe2f5d296d96acd5b 100755
(executable)
--- a/
tests/regression/tools/notification/test_notification_ust_error
+++ b/
tests/regression/tools/notification/test_notification_ust_error
@@
-18,10
+18,18
@@
TESTAPP_STATE_PATH=$(mktemp -u "$TMPDIR/application_state.XXXXXXXXXX")
# shellcheck source=../../../utils/utils.sh
source "$TESTDIR/utils/utils.sh"
# shellcheck source=../../../utils/utils.sh
source "$TESTDIR/utils/utils.sh"
+# shellcheck source=./util_event_generator.sh
+source "$CURDIR/util_event_generator.sh"
function test_basic_error_path
{
function test_basic_error_path
{
- $CURDIR/notification 1 LTTNG_DOMAIN_UST
+ ust_event_generator_run_once_per_transition "$GEN_UST_EVENTS_TESTAPP_BIN" "$TESTAPP_STATE_PATH" 5 5 &
+ APP_PID=$!
+
+ "$CURDIR/notification" 1 LTTNG_DOMAIN_UST $APP_PID "$TESTAPP_STATE_PATH"
+
+ kill -SIGUSR2 $APP_PID
+ wait $APP_PID 2> /dev/null
}
start_lttng_sessiond_notap
}
start_lttng_sessiond_notap
This page took
0.023622 seconds
and
4
git commands to generate.