Merge branch 'fixes/2.45.1/2.41' into fixes/2.45.1/2.42
[alt-git.git] / t / t0051-windows-named-pipe.sh
blob412f413360d74ee2e432eb50810f4b06155a2d2b
1 #!/bin/sh
3 test_description='Windows named pipes'
5 . ./test-lib.sh
6 if ! test_have_prereq MINGW
7 then
8 skip_all='skipping Windows-specific tests'
9 test_done
12 test_expect_success 'o_append write to named pipe' '
13 GIT_TRACE="$(pwd)/expect" git status >/dev/null 2>&1 &&
14 { test-tool windows-named-pipe t0051 >actual 2>&1 & } &&
15 pid=$! &&
16 sleep 1 &&
17 GIT_TRACE=//./pipe/t0051 git status >/dev/null 2>warning &&
18 wait $pid &&
19 test_cmp expect actual
22 test_done