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

This commit is contained in:
Diptanu Choudhury 2015-10-26 20:35:13 -07:00
parent 2fdcf1ae28
commit 3d68d06ac7

View File

@ -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),