]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0060-path-utils.sh
t0060: split absolute path test in two to exercise some of it on Windows
authorJohannes Sixt <j6t@kdbg.org>
Sun, 9 Sep 2012 15:42:20 +0000 (17:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Sep 2012 16:31:44 +0000 (09:31 -0700)
commitbacca7852f2f304ebe3f579de1a6cf0152af3df1
tree4d139f96cd833c362cdc5bc3d292baf003bb3167
parent379a03ad8194192ab7b2910ec3326a981971fda1
t0060: split absolute path test in two to exercise some of it on Windows

Only the first half of the test works only on POSIX, the second half
passes on Windows as well.

A later test "real path removes other extra slashes" looks very similar,
but it does not make sense to split it in the same way: When two slashes
are prepended in front of an absolute DOS-style path on Windows, the
meaning of the path is changed (//server/share style), so that the test
cannot pass on Windows.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0060-path-utils.sh