Fix: remove unused path variables from session obj
[lttng-tools.git] / tests / unit / test_kernel_data.c
index f3687456424cd8af8ff88a99bf317b06c58c429a..0b4bb08c948c4ac375ef9765b94705aef5ccfa24 100644 (file)
@@ -30,9 +30,6 @@
 
 #include <tap/tap.h>
 
-/* This path will NEVER be created in this test */
-#define PATH1 "/tmp/.test-junk-lttng"
-
 #define RANDOM_STRING_LEN      11
 
 /* Number of TAP tests in this file */
@@ -72,7 +69,7 @@ static char *get_random_string(void)
 
 static void test_create_one_kernel_session(void)
 {
-       kern = trace_kernel_create_session(PATH1);
+       kern = trace_kernel_create_session();
        ok(kern != NULL, "Create kernel session");
 
        ok(kern->fd == -1 &&
This page took 0.022603 seconds and 4 git commands to generate.