mirror of https://github.com/hashicorp/packer
When running a PackerCommand for acceptance tests, we generally run the test on a temporary plugin directory, populated by test plugins. Setting that temporary directory means we need to set the environment variable, which while it could be easier with a constant for the name for example, isn't too straightforward. Therefore for those tests we add a new function for PackerCommand so that it automatically sets that envvar for the current command.pull/13032/head
parent
50ef9ce990
commit
1e7f29f7c7
Loading…
Reference in new issue