backport of commit a701c3a14b

backport/acc_test_logic/wrongly-witty-moccasin
Lucas Bajolet 2 years ago
parent 667897e7b6
commit 6442e86657

@ -152,12 +152,10 @@ func (ts *PackerTestSuite) TestPluginPathEnvvarWithMultiplePaths() {
SetArgs("plugins", "installed").
Assert(ts.T(), MustFail(),
Grep("Multiple paths are no longer supported for PACKER_PLUGIN_PATH"),
PipeChecker{
check: IntCompare(eq, 2),
pipers: []Pipe{
PipeGrep(`\* PACKER_PLUGIN_PATH=`),
LineCount(),
},
})
MkPipeCheck("All envvars are suggested",
PipeGrep(`\* PACKER_PLUGIN_PATH=`),
LineCount()).
SetStream(OnlyStderr).
SetTester(IntCompare(eq, 2)))
})
}

Loading…
Cancel
Save