Update guest_commands_test.go
This commit is contained in:
parent
b4d1c77cc0
commit
b1fffee614
|
@ -189,7 +189,7 @@ func TestMovePath(t *testing.T) {
|
||||||
|
|
||||||
// Windows OS w/ space in path
|
// Windows OS w/ space in path
|
||||||
cmd = guestCmd.MovePath("C:\\Temp\\Some Dir", "C:\\Temp\\New Dir")
|
cmd = guestCmd.MovePath("C:\\Temp\\Some Dir", "C:\\Temp\\New Dir")
|
||||||
if cmd != "powershell.exe -Command \"mv C:\\Temp\\Some` Dir C:\\Temp\\New` Dir\"" {
|
if cmd != "powershell.exe -Command \"mv C:\\Temp\\Some` Dir C:\\Temp\\New` Dir -force\"" {
|
||||||
t.Fatalf("Unexpected Windows remove dir cmd: %s", cmd)
|
t.Fatalf("Unexpected Windows remove dir cmd: %s", cmd)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue