projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: check for lttng modules presence before testing
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
base_client.c
diff --git
a/tests/regression/tools/notification/base_client.c
b/tests/regression/tools/notification/base_client.c
index 7fbaa9e4dc77741047e43dffe9635733402172b3..043952d4457eac8f717a110a5b4befa28c4b320b 100644
(file)
--- a/
tests/regression/tools/notification/base_client.c
+++ b/
tests/regression/tools/notification/base_client.c
@@
-41,6
+41,7
@@
#include <lttng/notification/channel.h>
#include <lttng/notification/notification.h>
#include <lttng/trigger/trigger.h>
#include <lttng/notification/channel.h>
#include <lttng/notification/notification.h>
#include <lttng/trigger/trigger.h>
+#include <lttng/lttng-error.h>
static unsigned int nr_notifications = 0;
static unsigned int nr_expected_notifications = 0;
static unsigned int nr_notifications = 0;
static unsigned int nr_expected_notifications = 0;
@@
-201,7
+202,7
@@
int main(int argc, char **argv)
goto end;
}
condition_status = lttng_condition_buffer_usage_set_domain_type(
goto end;
}
condition_status = lttng_condition_buffer_usage_set_domain_type(
- condition,
LTTNG_DOMAIN_UST
);
+ condition,
domain_type
);
if (condition_status != LTTNG_CONDITION_STATUS_OK) {
printf("error: Could not set domain type\n");
ret = 1;
if (condition_status != LTTNG_CONDITION_STATUS_OK) {
printf("error: Could not set domain type\n");
ret = 1;
This page took
0.037941 seconds
and
4
git commands to generate.