[systemd-devel] [PATCH 0/2] path_make_relative() fix and tests

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Sat May 24 02:01:11 PDT 2014


I recently added path_make_relative() to path-util, and Lennart asked
me to write a test case for it. It's good that he did, because that
revealed a serious bug that I had somehow missed in my initial
testing.

Tanu Kaskinen (2):
  path-util: fix missing terminating zero
  test-path-util: add tests for path_make_relative()

 src/shared/path-util.c    | 15 +++++----------
 src/test/test-path-util.c | 22 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 10 deletions(-)

-- 
1.9.3



More information about the systemd-devel mailing list