Merge branch 'mo/perl-bidi-pipe-envfix'
[gitweb.git] / t / t5503-tagfollow.sh
index 7f6d3d2f6cfdc9b56f87348639f9128304fb2cb0..60de2d6ede958e713aebe85d73ee65ddbc10201d 100755 (executable)
@@ -4,14 +4,9 @@ test_description='test automatic tag following'
 
 . ./test-lib.sh
 
-case $(uname -s) in
-*MINGW*)
+if ! test_have_prereq NOT_MINGW; then
        say "GIT_DEBUG_SEND_PACK not supported - skipping tests"
-       ;;
-*)
-       test_set_prereq NOT_MINGW
-       ;;
-esac
+fi
 
 # End state of the repository:
 #