Move utils_expand_path and utils_expand_path_keep_symlink to libpath.la
[lttng-tools.git] / tests / unit / test_utils_expand_path.c
index e6f5e0c8b1597f538b0aba3ee737648978912aee..30fceeb8ad0cf6576e47c628bbff65a45cdbf8c0 100644 (file)
@@ -17,6 +17,7 @@
 #include <tap/tap.h>
 
 #include <common/utils.h>
+#include <common/path.h>
 #include <common/common.h>
 
 /* For error.h */
@@ -25,19 +26,19 @@ int lttng_opt_verbose = 3;
 int lttng_opt_mi;
 
 struct valid_test_input {
-       char *input;
-       char *relative_part;
-       char *absolute_part;
+       const char *input;
+       const char *relative_part;
+       const char *absolute_part;
 };
 
 struct tree_symlink {
-       char *orig;
-       char *dest;
+       const char *orig;
+       const char *dest;
 };
 
 struct symlink_test_input {
-       char *input;
-       char *expected_result;
+       const char *input;
+       const char *expected_result;
 };
 
 /* Valid test cases */
This page took 0.0237 seconds and 4 git commands to generate.