···41 test_cmp expect actual.haves
42'
4344+# The `tee.exe` shipped in Git for Windows v2.49.0 is known to hang frequently
45+# when spawned from `git.exe` and piping its output to `git.exe`. This seems
46+# related to MSYS2 runtime bug fixes regarding the signal handling; Let's just
47+# skip the tests that need to exercise this when the faulty MSYS2 runtime is
48+# detected; The test cases are exercised enough in other matrix jobs of the CI
49+# runs.
50+test_lazy_prereq TEE_DOES_NOT_HANG '
51+ test_have_prereq !MINGW &&
52+ case "$(uname -a)" in *3.5.7-463ebcdc.x86_64*) false;; esac
53+'
54+55+test_expect_success TEE_DOES_NOT_HANG \
56+ 'receive-pack missing objects fails connectivity check' '
57 test_when_finished rm -rf repo remote.git setup.git &&
5859 git init repo &&
···74 test_must_fail git -C remote.git cat-file -e $(git -C repo rev-parse HEAD)
75'
7677+test_expect_success TEE_DOES_NOT_HANG \
78+ 'receive-pack missing objects bypasses connectivity check' '
79 test_when_finished rm -rf repo remote.git setup.git &&
8081 git init repo &&