| 1 | #!/bin/sh |
| 2 | |
| 3 | test_description='Windows named pipes' |
| 4 | |
| 5 | . ./test-lib.sh |
| 6 | if ! test_have_prereq MINGW |
| 7 | then |
| 8 | skip_all='skipping Windows-specific tests' |
| 9 | test_done |
| 10 | fi |
| 11 | |
| 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 |
| 20 | ' |
| 21 | |
| 22 | test_done |