[lttng-dev] [lttng-tools PATCH 0/4] Update to utils_expand_path as realpath(3) for non-existing directories
Raphaël Beamonte
raphael.beamonte at gmail.com
Wed Nov 13 00:34:34 EST 2013
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
More information about the lttng-dev
mailing list