From c99bc47c8d039b28e2c3080bf64cad8bca0e2538 Mon Sep 17 00:00:00 2001 From: Donny Xia Date: Tue, 4 Aug 2020 11:01:06 -0700 Subject: [PATCH] fix test on macos --- kyaml/fn/runtime/container/container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kyaml/fn/runtime/container/container_test.go b/kyaml/fn/runtime/container/container_test.go index 1c465c7d2..f7a071ad6 100644 --- a/kyaml/fn/runtime/container/container_test.go +++ b/kyaml/fn/runtime/container/container_test.go @@ -106,7 +106,7 @@ metadata: for _, e := range os.Environ() { // the process env parts := strings.Split(e, "=") - if parts[0] == "" || parts[1] == "" { + if parts[0] == "" || parts[1] == "" || shouldEnvIgnored(parts[0]) { continue } tt.expectedArgs = append(tt.expectedArgs, "-e", parts[0])