]> git.ipfire.org Git - thirdparty/git.git/blame - t/t0051-windows-named-pipe.sh
Sync with Git 2.45.1
[thirdparty/git.git] / t / t0051-windows-named-pipe.sh
CommitLineData
06ba9d03
JH
1#!/bin/sh
2
3test_description='Windows named pipes'
4
5. ./test-lib.sh
0a2bfccb
ÆAB
6if ! test_have_prereq MINGW
7then
8 skip_all='skipping Windows-specific tests'
9 test_done
10fi
06ba9d03 11
0a2bfccb 12test_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
22test_done