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 9070d12b2f
commit fb0cae7320
1 changed files with 1 additions and 0 deletions

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