test scripts: refactor start_httpd helper
[gitweb.git] / t / t5540-http-push.sh
index 11b343274ff36247f45de6eefbdbebce511915be..57a4411e983aa5634abaf263ee9c0f21db41b0c3 100755 (executable)
@@ -20,13 +20,7 @@ then
 fi
 
 . "$TEST_DIRECTORY"/lib-httpd.sh
-
-if ! start_httpd >&3 2>&4
-then
-       say "skipping test, web server setup failed"
-       test_done
-       exit
-fi
+start_httpd
 
 test_expect_success 'setup remote repository' '
        cd "$ROOT_PATH" &&