Browse Source

Forcing the Env variable to empty while testing the default shell logic

pull/1343/head
Diptanu Choudhury 9 years ago
parent
commit
3d68d06ac7
  1. 1
      command/agent/check_test.go

1
command/agent/check_test.go

@ -585,6 +585,7 @@ func TestDockerCheckWhenExecInfoFails(t *testing.T) {
}
func TestDockerCheckDefaultToSh(t *testing.T) {
os.Setenv("SHELL", "")
mock := &MockNotify{
state: make(map[string]string),
updates: make(map[string]int),

Loading…
Cancel
Save