David, Please find here an updated series of patches following your previous comments. These patches introduce updated versions of the utils_resolve_relative and utils_expand_path functions, as well as unit tests to verify their behavior.
Thanks, Raphaël Raphaël Beamonte (4): Introduce a new utils_resolve_relative function Tests: Add test_utils_resolve_relative to unit tests Correct the behavior of the utils_expand_path function Tests: Add test_utils_expand_path to unit tests .gitignore | 2 + src/common/utils.c | 154 +++++++++++++++++++++++---- src/common/utils.h | 1 + tests/unit/Makefile.am | 20 +++- tests/unit/test_utils_expand_path.c | 170 ++++++++++++++++++++++++++++++ tests/unit/test_utils_resolve_relative.c | 98 +++++++++++++++++ tests/unit_tests | 2 + 7 files changed, 421 insertions(+), 26 deletions(-) create mode 100644 tests/unit/test_utils_expand_path.c create mode 100644 tests/unit/test_utils_resolve_relative.c -- 1.7.10.4 _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
