summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-08-04 08:10:34 -0700
committerJunio C Hamano <gitster@pobox.com>2025-08-04 08:10:35 -0700
commitd8f795e08afe28af2fa5c409d561ca661004f193 (patch)
tree8d9c888e415e56187422be586c003f5f215227b2
parentea58adaeb9687dd2ed7b9f3a7b309ebe954c6576 (diff)
parentf3ef347bb2e0332872088bb00c8ba9801c578822 (diff)
downloadgit-d8f795e08afe28af2fa5c409d561ca661004f193.tar.xz
Merge branch 'ch/t7450-recursive-clone-test-fix'
Test fix. * ch/t7450-recursive-clone-test-fix: t7450: inspect the correct path a broken code would write to
-rwxr-xr-xt/t7450-bad-git-dotfiles.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7450-bad-git-dotfiles.sh b/t/t7450-bad-git-dotfiles.sh
index 14b5743b96..f512eed278 100755
--- a/t/t7450-bad-git-dotfiles.sh
+++ b/t/t7450-bad-git-dotfiles.sh
@@ -401,7 +401,7 @@ test_expect_success SYMLINKS,!WINDOWS,!MINGW 'submodule must not checkout into d
git -C repo commit -m submodule &&
git -c protocol.file.allow=always clone --recurse-submodules repo bad-clone &&
- ! test -f "$PWD/foo" &&
+ ! test -f "$PWD/bad-clone/sub/foo" &&
test -f $(printf "bad-clone/sub\r/post-checkout")
'