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

pull/1343/head
Diptanu Choudhury 9 years ago
parent 2fdcf1ae28
commit 3d68d06ac7

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

Loading…
Cancel
Save