moby/builder
Brian Goff d79bd3010a Fix issue with test ordering for TestParseWords
`TestParseWords` needs to use the `tokenEscape` for one of the test
cases, but `tokenEscape` was not being set unless tests ran in a
specific order.
This sets a default value for `tokenEscape`... `\`... so that tests that
rely on this global are not affected by test ordering.

This is the simplest fix for these cases. Ideally the token should not
be set as a global but rather passed down, which is a much larger
change.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit df167d3ff0)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-27 14:51:42 -07:00
..
dockerfile Fix issue with test ordering for TestParseWords 2016-07-27 14:51:42 -07:00
dockerignore Skip UTF-8 BOM bytes from Dockerignore if exist 2016-06-03 07:26:36 -07:00
builder.go Validate hostname starting from 1.24 API. 2016-07-08 15:32:19 -07:00
context.go Fix directory walker error checking 2016-05-26 14:59:38 -07:00
context_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
context_unix.go Move validateContextDirectory to builder package. 2016-02-09 22:19:09 +01:00
context_windows.go Move validateContextDirectory to builder package. 2016-02-09 22:19:09 +01:00
dockerignore.go utils: move dockerignore function to builder/dockerignore 2015-12-14 14:59:52 +01:00
dockerignore_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
git.go utils: move git functions to pkg/gitutils 2015-12-14 14:59:52 +01:00
remote.go Move getContext… function to builder package 2016-02-11 20:59:59 +01:00
remote_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
tarsum.go Fix build cache false positives when build context tar contains unnormalized paths 2016-04-14 17:57:45 -07:00
tarsum_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
utils_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00