file path normalisation: add test
file path normalisation: add test: a task in smol-software-harbor (Harbor dataset). Extend tests/test main.c with checks for path normalize : absolute paths stay absolute ( "/a//b/" - "/a/b" ), .. at the root is dropped ( "/../a" - "/a" ), . segments disappear ( "./a/./b" - "a/b" ), and empty…
The task
Extend `tests/test_main.c` with checks for `path_normalize`: absolute paths stay absolute (`"/a//b/"` -> `"/a/b"`), `..` at the root is dropped (`"/../a"` -> `"/a"`), `.` segments disappear (`"./a/./b"` -> `"a/b"`), and empty results become `"."` (`"a/.."`) or `"/"` (`"/a/.."`). Keep the existing check and do not…
Part of efederici/smol-software-harbor.