Fix inefficient file paths filter

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: adeb3e36840c6d9d1912dd78f5300ae74d11c068
Component: engine
This commit is contained in:
Tonis Tiigi
2017-03-08 18:59:25 -08:00
parent e454be5cbf
commit aec1003d24
4 changed files with 153 additions and 141 deletions
@@ -2403,7 +2403,7 @@ func (s *DockerSuite) TestBuildDockerignoringBadExclusion(c *check.C) {
withFile(".dockerignore", "!\n"),
)).Assert(c, icmd.Expected{
ExitCode: 1,
Err: "Error checking context: 'Illegal exclusion pattern: !",
Err: "Error checking context: 'illegal exclusion pattern: \"!\"",
})
}