From mboxrd@z Thu Jan 1 00:00:00 1970 From: dgoulet@efficios.com (David Goulet) Date: Wed, 13 Nov 2013 16:28:35 -0500 Subject: [lttng-dev] [lttng-tools PATCH 0/4] Update to utils_expand_path as realpath(3) for non-existing directories In-Reply-To: <1384320878-28808-1-git-send-email-raphael.beamonte@gmail.com> References: <20131112195134.GB12183@thessa> <1384320878-28808-1-git-send-email-raphael.beamonte@gmail.com> Message-ID: <20131113212835.GD7694@dalia> Merged! Big thanks Rapha?l especially for the two unit tests! David On 13 Nov (00:34:34), Rapha?l Beamonte wrote: > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: Digital signature URL: