Update mnt command test path
You cannot use an abs path inside the conatiner's rootfs. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
364d8e1505
commit
8ef205cd1c
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue