Commit 8f3e7bf4 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Blurt server output to terminal during tests

parent 1c282165
......@@ -143,6 +143,8 @@ func testAuthServer(code int, body string) *httptest.Server {
func startServer(ts *httptest.Server) (*exec.Cmd, error) {
cmd := exec.Command("go", "run", "main.go", fmt.Sprintf("-authBackend=%s", ts.URL), fmt.Sprintf("-listenAddr=%s", servAddr), testRepoRoot)
cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
return cmd, cmd.Start()
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment