diff --git a/integration/exec_test.go b/integration/exec_test.go index c8b16687..fea5f7ee 100644 --- a/integration/exec_test.go +++ b/integration/exec_test.go @@ -651,7 +651,7 @@ func TestMountCmds(t *testing.T) { config := newTemplateConfig(rootfs) config.Mounts = append(config.Mounts, &configs.Mount{ Source: tmpDir, - Destination: filepath.Join(rootfs, "tmp"), + Destination: "/tmp", Device: "bind", Flags: syscall.MS_BIND | syscall.MS_REC, PremountCmds: []configs.Command{