Skip to content

Commit 7455e33

Browse files
committed
Merge branch 'ab/t0051-skip-on-non-windows'
Conditional test update. * ab/t0051-skip-on-non-windows: t0051: use "skip_all" under !MINGW in single-test file
2 parents 991b4d4 + 0a2bfcc commit 7455e33

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

t/t0051-windows-named-pipe.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
test_description='Windows named pipes'
44

55
. ./test-lib.sh
6+
if ! test_have_prereq MINGW
7+
then
8+
skip_all='skipping Windows-specific tests'
9+
test_done
10+
fi
611

7-
test_expect_success MINGW 'o_append write to named pipe' '
12+
test_expect_success 'o_append write to named pipe' '
813
GIT_TRACE="$(pwd)/expect" git status >/dev/null 2>&1 &&
914
{ test-tool windows-named-pipe t0051 >actual 2>&1 & } &&
1015
pid=$! &&

0 commit comments

Comments
 (0)