Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#define RANDOM_STRING_LEN 11
/* Number of TAP tests in this file */
-#define NUM_TESTS 10
+#define NUM_TESTS 11
/* For error.h */
int lttng_opt_quiet = 1;
/* set up an exclusion set */
exclusion = zmalloc(sizeof(*exclusion) + LTTNG_SYMBOL_NAME_LEN);
+ if (!exclusion) {
+ PERROR("zmalloc");
+ }
+
+ ok(exclusion != NULL, "Create UST exclusion");
+
exclusion->count = 1;
strncpy((char *)(exclusion->names), get_random_string(), LTTNG_SYMBOL_NAME_LEN);