summaryrefslogtreecommitdiff
path: root/cmd/gitlab-sshd/acceptance_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gitlab-sshd/acceptance_test.go')
-rw-r--r--cmd/gitlab-sshd/acceptance_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitlab-sshd/acceptance_test.go b/cmd/gitlab-sshd/acceptance_test.go
index c92a8aa..7cb1c48 100644
--- a/cmd/gitlab-sshd/acceptance_test.go
+++ b/cmd/gitlab-sshd/acceptance_test.go
@@ -229,7 +229,7 @@ func startSSHD(t *testing.T, dir string) string {
t.Cleanup(func() { pw.Close() })
scanner := bufio.NewScanner(pr)
- extractor := regexp.MustCompile(`msg="Listening on ([0-9a-f\[\]\.:]+)"`)
+ extractor := regexp.MustCompile(`tcp_address="([0-9a-f\[\]\.:]+)"`)
ctx, cancel := context.WithCancel(context.Background())
cmd := exec.CommandContext(ctx, sshdPath, "-config-dir", dir)