provisioner/windows-restart: test fix

This commit is contained in:
Mitchell Hashimoto 2015-06-17 17:56:31 +02:00
parent a53cc8b070
commit 7711e07f05
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func TestProvisionerPrepare_Defaults(t *testing.T) {
t.Errorf("unexpected remote path: %s", p.config.RestartTimeout)
}
if p.config.RestartCommand != "shutdown /r /c \"packer restart\" /t 5 && net stop winrm" {
if p.config.RestartCommand != "powershell \"& {Restart-Computer -force }\"" {
t.Errorf("unexpected remote path: %s", p.config.RestartCommand)
}
}