From efe92216f102a87390037d3c91e2d3430439a3f4 Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Tue, 12 May 2015 10:06:21 +0200 Subject: [PATCH] functional tests: update string from systemd Since systemd commit f2341e ("core,network: major per-object logging rework"), systemd does not log "main process exited" but "Main process exited" (notice the uppercase). Improve the test to accept both strings. --- tests/rkt_exit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rkt_exit_test.go b/tests/rkt_exit_test.go index 0895a98..0c4a717 100644 --- a/tests/rkt_exit_test.go +++ b/tests/rkt_exit_test.go @@ -69,7 +69,7 @@ func TestFailure(t *testing.T) { if err != nil { t.Fatalf("Missing hello: %v", err) } - err = child.Expect("main process exited, code=exited, status=20") + err = child.Expect("process exited, code=exited, status=20") if err != nil { t.Fatalf("Missing exit status: %v", err) }