Rename busybox-NoSuchFile test bundle to busybox-no-such-file

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-03-28 10:40:33 -07:00
parent dec6a0dc4d
commit bf20f56615

View file

@ -40,11 +40,11 @@ var
func (cs *ContainerdSuite) TestStartBusyboxNoSuchFile(t *check.C) {
expectedOutput := `oci runtime error: exec: \"NoSuchFile\": executable file not found in $PATH`
if err := CreateBusyboxBundle("busybox-NoSuchFile", []string{"NoSuchFile"}); err != nil {
if err := CreateBusyboxBundle("busybox-no-such-file", []string{"NoSuchFile"}); err != nil {
t.Fatal(err)
}
_, err := cs.RunContainer("NoSuchFile", "busybox-NoSuchFile")
_, err := cs.RunContainer("NoSuchFile", "busybox-no-such-file")
t.Assert(err.Error(), checker.Contains, expectedOutput)
}