add quotes

Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
pull/14420/head
Paul S. Schweigert 2022-06-30 08:16:25 -04:00
parent 50f8f9da1e
commit 08b3c8d4d6
No known key found for this signature in database
GPG Key ID: 8DE1106C919E9405
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func validateCrioSystemd(ctx context.Context, t *testing.T, profile string) {
if err != nil {
t.Errorf("failed to get cri-o cgroup driver. args %q: %v", rr.Command(), err)
}
if strings.Contains(rr.Output(), "cgroup_manager = systemd") {
if strings.Contains(rr.Output(), "cgroup_manager = \"systemd\"") {
t.Fatalf("expected systemd cgroup driver, got: %v", rr.Output())
}
}