mirror of https://github.com/docker/docs.git
since moved the ./dockerinit mount into lxc driver, fix the lxc testcase accordingly
Docker-DCO-1.1-Signed-off-by: Albert Zhang <zhgwenming@gmail.com> (github: zhgwenming)
This commit is contained in:
parent
b611198d28
commit
b3b6e05f26
|
@ -35,7 +35,7 @@ func TestLXCConfig(t *testing.T) {
|
||||||
cpu = cpuMin + rand.Intn(cpuMax-cpuMin)
|
cpu = cpuMin + rand.Intn(cpuMax-cpuMin)
|
||||||
)
|
)
|
||||||
|
|
||||||
driver, err := NewDriver(root, false)
|
driver, err := NewDriver(root, "", false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ func TestCustomLxcConfig(t *testing.T) {
|
||||||
|
|
||||||
os.MkdirAll(path.Join(root, "containers", "1"), 0777)
|
os.MkdirAll(path.Join(root, "containers", "1"), 0777)
|
||||||
|
|
||||||
driver, err := NewDriver(root, false)
|
driver, err := NewDriver(root, "", false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue