From ca934a037fe965750c2de4891677a68d627cbf50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Fri, 9 Aug 2013 16:03:05 -0700 Subject: [PATCH] fix typo in TestBindMounts (runContainer called without image) Upstream-commit: 68b09cbe3d0a13bd1dbcaa39a63788fe938d0ae7 Component: engine --- components/engine/container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/container_test.go b/components/engine/container_test.go index 1050bfb2ad..aca53e5eb3 100644 --- a/components/engine/container_test.go +++ b/components/engine/container_test.go @@ -1174,7 +1174,7 @@ func TestBindMounts(t *testing.T) { readFile(path.Join(tmpDir, "holla"), t) // Will fail if the file doesn't exist // test mounting to an illegal destination directory - if _, err := runContainer(r, []string{"-v", fmt.Sprintf("%s:.", tmpDir), "ls", "."}, nil); err == nil { + if _, err := runContainer(r, []string{"-v", fmt.Sprintf("%s:.", tmpDir), "_", "ls", "."}, nil); err == nil { t.Fatal("Container bind mounted illegal directory") } }