From 77b0ccc4eef7de2b6181a9441dae2c435694f1ae Mon Sep 17 00:00:00 2001 From: Maksim An Date: Tue, 19 Apr 2022 12:32:43 -0700 Subject: [PATCH] Revert "Fix working_dir negative test error expectation (#1348)" This reverts commit 2028de8b8d5e0516e0e65664f9085dab02a6a5e2. During local testing a gcs with an older version of security policy was used when doing the fix: #1322. As we can see, the quotations weren't there. However, later a PR was merged, which added them: #1311 Signed-off-by: Maksim An --- test/cri-containerd/policy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cri-containerd/policy_test.go b/test/cri-containerd/policy_test.go index 8ab5a6e6e3..9d1348218d 100644 --- a/test/cri-containerd/policy_test.go +++ b/test/cri-containerd/policy_test.go @@ -382,7 +382,7 @@ func Test_RunContainer_InvalidContainerConfigs_NotAllowed(t *testing.T) { req.Config.WorkingDir = "/non/existent" return nil }, - expectedError: "working_dir /non/existent unmatched by policy rule", + expectedError: "working_dir \"/non/existent\" unmatched by policy rule", }, { name: "InvalidCommand",