diff --git a/pkg/testers/ginkgo/ginkgo.go b/pkg/testers/ginkgo/ginkgo.go index 810c849..3f317b2 100644 --- a/pkg/testers/ginkgo/ginkgo.go +++ b/pkg/testers/ginkgo/ginkgo.go @@ -99,7 +99,9 @@ func (t *Tester) Test() error { klog.V(0).Infof("Running ginkgo test as %s %+v", t.ginkgoPath, ginkgoArgs) cmd := exec.Command(t.ginkgoPath, ginkgoArgs...) - cmd.SetEnv(t.Env...) + env := os.Environ() + env = append(env, t.Env...) + cmd.SetEnv(env...) exec.InheritOutput(cmd) return cmd.Run() }