mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-26 00:31:18 -04:00
UPDATE: Added the UseSequentialEvaluation flag to the Console Test
This commit is contained in:
parent
0e8668eb5f
commit
0e49825a82
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ func Test_console(t *testing.T) {
|
|||
}{
|
||||
{"help", []string{"console"}, nil, packer.ConsoleHelp + "\n"},
|
||||
{"help", []string{"console", "--config-type=hcl2"}, nil, hcl2template.PackerConsoleHelp + "\n"},
|
||||
{"help", []string{"console", "--config-type=hcl2", "--use-sequential-evaluation"}, nil, hcl2template.PackerConsoleHelp + "\n"},
|
||||
{"var.fruit", []string{"console", filepath.Join(testFixture("var-arg"), "fruit_builder.pkr.hcl")}, []string{"PKR_VAR_fruit=potato"}, "potato\n"},
|
||||
{"upper(var.fruit)", []string{"console", filepath.Join(testFixture("var-arg"), "fruit_builder.pkr.hcl")}, []string{"PKR_VAR_fruit=potato"}, "POTATO\n"},
|
||||
{"1 + 5", []string{"console", "--config-type=hcl2"}, nil, "6\n"},
|
||||
|
|
|
|||
Loading…
Reference in a new issue