]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0060-path-utils.sh
t0060: Fix tests on Windows
authorJohannes Sixt <j6t@kdbg.org>
Wed, 11 Mar 2009 21:15:10 +0000 (22:15 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Sun, 22 Mar 2009 16:26:44 +0000 (17:26 +0100)
commit2718e852e9baf98c128aafc508e85b610decad25
tree1df99d66d5a74e10926295dab3d959fb2fb67363
parent704a3143d5ba0709727430154ef3dad600aad4de
t0060: Fix tests on Windows

Since the MSYS bash mangles absolute paths that it passes as command line
arguments to non-MSYS progams (such as git or test-path-utils), we have to
bend over backwards to squeeze some usefulness out of the existing tests.

In particular, a set of path normalization tests is added that test
relative paths. Some paths in the ancestor path tests are adjusted to help
MSYS bash's path mangling heuristics.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
t/t0060-path-utils.sh