packer-cn/builder/azure
Wilken Rivera 86ab71f56e
test/azure/arm: Add regression test case for ssh_username overrides (#9136)
This test is for the regression fixed in #9103

Before fix
```
⇶  go test ./builder/azure/arm/... -run=TestConfigUserNameOverride
--- FAIL: TestConfigUserNameOverride (0.42s)
    config_test.go:75: Expected 'c.Comm.SSHPassword' to be set to generated password, but found ""!
    config_test.go💯 Expected 'UserName' to be set to 'override_winrm_username', but found "packer"!
FAIL
FAIL    github.com/hashicorp/packer/builder/azure/arm   0.425s
FAIL

```

After fix
```
⇶  go test ./builder/azure/arm/... -run=TestConfigUserNameOverride
ok      github.com/hashicorp/packer/builder/azure/arm   0.379s
```

* Fix variable names in error messages
2020-04-30 10:49:58 +02:00
..
arm test/azure/arm: Add regression test case for ssh_username overrides (#9136) 2020-04-30 10:49:58 +02:00
chroot [builder/azure-chroot] Shared image source (#9070) 2020-04-23 11:03:17 +02:00
common [builder/azure-chroot] Shared image source (#9070) 2020-04-23 11:03:17 +02:00
dtl [builder/azure-arm] Use VM/build location for image location (#9068) 2020-04-17 05:43:03 -04:00
pkcs12 spelling: unmarshalling 2018-03-14 03:27:22 +00:00
LICENSE Added MIT license 2016-03-14 20:08:35 -07:00
TODO.md Miscellaneous doc improvements 2018-10-18 19:09:49 -04:00