Update guest_commands_test.go

This commit is contained in:
pauloj95 2019-02-06 10:50:29 +00:00 committed by GitHub
parent b4d1c77cc0
commit b1fffee614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }
} }