summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-02-18 21:53:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-02-18 21:53:28 (GMT)
commit7455e33cba53e015982ea6c61c49c2cfbadd7141 (patch)
treebda7b48368a09d6e78ba0dbb10675fdf417c51bd /t
parent991b4d47f0accd3955d05927d5ce434e03ffbdb6 (diff)
parent0a2bfccb9c85458f329fdbf714af699edd86fe32 (diff)
downloadgit-7455e33cba53e015982ea6c61c49c2cfbadd7141.zip
git-7455e33cba53e015982ea6c61c49c2cfbadd7141.tar.gz
git-7455e33cba53e015982ea6c61c49c2cfbadd7141.tar.bz2
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
Diffstat (limited to 't')
-rwxr-xr-xt/t0051-windows-named-pipe.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/t0051-windows-named-pipe.sh b/t/t0051-windows-named-pipe.sh
index 10ac92d..412f413 100755
--- a/t/t0051-windows-named-pipe.sh
+++ b/t/t0051-windows-named-pipe.sh
@@ -3,8 +3,13 @@
test_description='Windows named pipes'
. ./test-lib.sh
+if ! test_have_prereq MINGW
+then
+ skip_all='skipping Windows-specific tests'
+ test_done
+fi
-test_expect_success MINGW 'o_append write to named pipe' '
+test_expect_success 'o_append write to named pipe' '
GIT_TRACE="$(pwd)/expect" git status >/dev/null 2>&1 &&
{ test-tool windows-named-pipe t0051 >actual 2>&1 & } &&
pid=$! &&