X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ftrigger%2Futils%2Fnotification-client.c;h=3d8aec46ddbd8b7feb5cf90dbc75a43298384bfc;hb=36962e16797b5ca590c54a385ca594e2859ef8c2;hp=ac572bfc6d870233570adafeb267de0978f43c97;hpb=702f26c8641ee4554c629d13b9367b1e93f96e31;p=lttng-tools.git diff --git a/tests/regression/tools/trigger/utils/notification-client.c b/tests/regression/tools/trigger/utils/notification-client.c index ac572bfc6..3d8aec46d 100644 --- a/tests/regression/tools/trigger/utils/notification-client.c +++ b/tests/regression/tools/trigger/utils/notification-client.c @@ -62,6 +62,7 @@ static bool action_list_contains_notify( return false; } +/* Only expects named triggers. */ static bool is_trigger_name(const char *expected_trigger_name, struct lttng_notification *notification) { @@ -180,7 +181,7 @@ int main(int argc, char **argv) continue; } } - if (!((action_type == LTTNG_ACTION_TYPE_GROUP && + if (!((action_type == LTTNG_ACTION_TYPE_LIST && action_list_contains_notify(action)) || action_type == LTTNG_ACTION_TYPE_NOTIFY)) { /* "The action of trigger is not notify, skipping. */