Add and modify tests for legacy and new daemon invokations

Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Shishir Mahajan 2015-05-01 10:00:43 -04:00 committed by Vincent Demeester
parent f55d8241cf
commit f3841a1d27
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ func TestUlimitOpt(t *testing.T) {
"nofile": {"nofile", 1024, 512}, "nofile": {"nofile", 1024, 512},
} }
ulimitOpt := NewUlimitOpt(ulimitMap) ulimitOpt := NewUlimitOpt(&ulimitMap)
expected := "[nofile=512:1024]" expected := "[nofile=512:1024]"
if ulimitOpt.String() != expected { if ulimitOpt.String() != expected {