Files
git/test-path-utils.c
Johannes Schindelin 662c605d95 t0060: verify that basename() and dirname() work as expected
Unfortunately, some libgen implementations yield outcomes different from
what Git expects. For example, mingw-w64-crt provides a basename()
function, that shortens `path0/` to `path`!

So let's verify that the basename() and dirname() functions we use conform
to what Git expects.

Derived-from-code-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-01-28 09:52:04 +01:00

7.2 KiB