mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 01:30:06 -04:00
add force to guestcommands test too
This commit is contained in:
parent
8d8b880ac4
commit
d7b93aa343
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ func TestMovePath(t *testing.T) {
|
|||
t.Fatalf("Failed to create new GuestCommands for OS: %s", WindowsOSType)
|
||||
}
|
||||
cmd = guestCmd.MovePath("C:\\Temp\\SomeDir", "C:\\Temp\\NewDir")
|
||||
if cmd != "powershell.exe -Command \"mv C:\\Temp\\SomeDir C:\\Temp\\NewDir\"" {
|
||||
if cmd != "powershell.exe -Command \"mv C:\\Temp\\SomeDir C:\\Temp\\NewDir\ -force"" {
|
||||
t.Fatalf("Unexpected Windows remove dir cmd: %s", cmd)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue