docs/builder/dockerfile
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 df167d3ff04cdc90012c8ca39647662ad69e6715)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-27 14:51:42 -07:00
..
command Builder default shell 2016-06-03 13:54:31 -07:00
parser Fix issue with test ordering for TestParseWords 2016-07-27 14:51:42 -07:00
bflag.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
bflag_test.go
builder.go Add support for user-defined healthchecks 2016-06-02 23:58:34 +02:00
builder_unix.go Builder default shell 2016-06-03 13:54:31 -07:00
builder_windows.go Builder default shell 2016-06-03 13:54:31 -07:00
dispatchers.go Builder default shell 2016-06-03 13:54:31 -07:00
dispatchers_unix.go Builder default shell 2016-06-03 13:54:31 -07:00
dispatchers_windows.go Builder default shell 2016-06-03 13:54:31 -07:00
dispatchers_windows_test.go Windows: Reduce CLI time, move some to unit tests 2016-05-06 12:26:08 -07:00
envVarTest Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00
evaluator.go Builder default shell 2016-06-03 13:54:31 -07:00
evaluator_test.go Typo fix wiildcard -> wildcard 2016-05-22 18:39:35 +01:00
evaluator_unix.go Enabling expose support for Windows TP5 2016-03-30 17:25:41 -07:00
evaluator_windows.go Windows: Support ARG in builder 2016-05-04 14:32:23 -07:00
internals.go Validate hostname starting from 1.24 API. 2016-07-08 15:32:19 -07:00
internals_test.go Reimplementing builder tests for Dockerfile outside context as a unit test 2016-06-05 08:39:06 +02:00
internals_unix.go Windows: Reduce CLI time, move some to unit tests 2016-05-06 12:26:08 -07:00
internals_windows.go Windows: Reduce CLI time, move some to unit tests 2016-05-06 12:26:08 -07:00
internals_windows_test.go Windows: Reduce CLI time, move some to unit tests 2016-05-06 12:26:08 -07:00
shell_parser.go Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00
shell_parser_test.go Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00
support.go Builder default shell 2016-06-03 13:54:31 -07:00
support_test.go Unit tests for builder/dockerfile/support 2016-04-16 00:19:58 +02:00
wordsTest Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00