test_terminal: ensure redirections work reliably
[gitweb.git] / t / t5503-tagfollow.sh
index 8a298a655fa007fbd9a43d6212b53f749c980eb6..b6b1fc30cd994129b5894c45c01f3b8b3a73eddc 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:
 #