commit.cocci: refactor code, avoid double rewrite
[git.git] / t / t0051-windows-named-pipe.sh
blob10ac92d22507ed839552e5cbec1e5978a00ca51d
1 #!/bin/sh
3 test_description='Windows named pipes'
5 . ./test-lib.sh
7 test_expect_success MINGW 'o_append write to named pipe' '
8 GIT_TRACE="$(pwd)/expect" git status >/dev/null 2>&1 &&
9 { test-tool windows-named-pipe t0051 >actual 2>&1 & } &&
10 pid=$! &&
11 sleep 1 &&
12 GIT_TRACE=//./pipe/t0051 git status >/dev/null 2>warning &&
13 wait $pid &&
14 test_cmp expect actual
17 test_done