forked from Mirrors/wine-wine
shell32: Fix a test that fails in win2k3.
parent
ead42d7f7f
commit
9ba8989026
|
@ -963,7 +963,9 @@ static void test_copy(void)
|
|||
shfo.fFlags = FOF_MULTIDESTFILES | FOF_NOCONFIRMATION |
|
||||
FOF_SILENT | FOF_NOERRORUI;
|
||||
retval = SHFileOperation(&shfo);
|
||||
ok(retval == ERROR_CANCELLED, "Expected ERROR_CANCELLED, got %d\n", retval);
|
||||
ok(retval == ERROR_CANCELLED ||
|
||||
retval == ERROR_SUCCESS, /* win2k3 */
|
||||
"Expected ERROR_CANCELLED or ERROR_SUCCESS, got %d\n", retval);
|
||||
ok(!DeleteFileA("threedir\\one.txt"), "Expected file to not exist\n");
|
||||
ok(!DeleteFileA("threedir\\two.txt"), "Expected file to not exist\n");
|
||||
ok(DeleteFileA("one.txt"), "Expected file to exist\n");
|
||||
|
|
Loading…
Reference in New Issue