diff options
author | Johannes Sixt <j6t@kdbg.org> | 2012-06-14 14:10:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-14 11:00:06 -0700 |
commit | c517e73d0f116f8293f1fbc7f92bb60ea8047b0f (patch) | |
tree | 3e0ab03df78c74ccb71b7faed630794b48dabe82 /t/t1305-config-include.sh | |
parent | submodule: fix handling of superproject origin URLs like foo, ./foo and ./foo... (diff) | |
download | tgif-c517e73d0f116f8293f1fbc7f92bb60ea8047b0f.tar.xz |
t7400: avoid path mangling issues
A recently introduced test uses an absolute path. But when run on Windows
using the MSYS bash, such a path is mangled into a Windows style path when
it is passed to 'git config'. The subsequent 'test' then compares the
mangled path to the unmangled version and reports a failure.
A path beginning with two slashes denotes a network directory
(//server/share path) and is not mangled. Use that trick to side-step the
issue. Just in case that 'git submodule init' regresses in such a way that
it accesses the URL, use a path name that is unlikely to exist on POSIX
systems, and that cannot be a server name on Windows.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1305-config-include.sh')
0 files changed, 0 insertions, 0 deletions