From 8ef205cd1c48d97e9c8a5fd4331c9fd4055c0103 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Thu, 7 May 2015 14:46:19 -0700 Subject: [PATCH] Update mnt command test path You cannot use an abs path inside the conatiner's rootfs. Signed-off-by: Michael Crosby --- integration/exec_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{