]>
Commit | Line | Data |
---|---|---|
06ba9d03 JH |
1 | #!/bin/sh |
2 | ||
3 | test_description='Windows named pipes' | |
4 | ||
5 | . ./test-lib.sh | |
0a2bfccb ÆAB |
6 | if ! test_have_prereq MINGW |
7 | then | |
8 | skip_all='skipping Windows-specific tests' | |
9 | test_done | |
10 | fi | |
06ba9d03 | 11 | |
0a2bfccb | 12 | test_expect_success 'o_append write to named pipe' ' |
06ba9d03 JH |
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 |