*
*/
-#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* Number of TAP tests in this file */
#define NUM_TESTS 11
-/* For error.h */
-int lttng_opt_quiet = 1;
-int lttng_opt_verbose;
-int lttng_opt_mi;
+#ifdef HAVE_LIBLTTNG_UST_CTL
+#include <lttng/ust-sigbus.h>
+DEFINE_LTTNG_UST_SIGBUS_STATE();
+#endif
static const char alphanum[] =
"0123456789"
static void test_create_kernel_metadata(void)
{
- assert(kern != NULL);
+ LTTNG_ASSERT(kern != NULL);
kern->metadata = trace_kernel_create_metadata();
ok(kern->metadata != NULL, "Create kernel metadata");