mirror of
https://github.com/git/git.git
synced 2026-01-11 13:23:12 +09:00
t1305: skip symlink tests that do not apply to Windows
In Git for Windows, the gitdir is canonicalized so that even when the gitdir is specified via a symbolic link, the `gitdir:` conditional include will only match the real directory path. Unfortunately, t1305 codifies a different behavior in two test cases, which are hereby skipped on Windows. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
dd47906923
commit
be6ac35107
@ -286,7 +286,7 @@ test_expect_success SYMLINKS 'conditional include, relative path with symlinks'
|
||||
)
|
||||
'
|
||||
|
||||
test_expect_success SYMLINKS 'conditional include, gitdir matching symlink' '
|
||||
test_expect_success SYMLINKS,!MINGW 'conditional include, gitdir matching symlink' '
|
||||
ln -s foo bar &&
|
||||
(
|
||||
cd bar &&
|
||||
@ -298,7 +298,7 @@ test_expect_success SYMLINKS 'conditional include, gitdir matching symlink' '
|
||||
)
|
||||
'
|
||||
|
||||
test_expect_success SYMLINKS 'conditional include, gitdir matching symlink, icase' '
|
||||
test_expect_success SYMLINKS,!MINGW 'conditional include, gitdir matching symlink, icase' '
|
||||
(
|
||||
cd bar &&
|
||||
echo "[includeIf \"gitdir/i:BAR/\"]path=bar8" >>.git/config &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user