shell32/tests: Fix some tests on Win7.
This commit is contained in:
parent
36efda3d39
commit
f9a931070d
|
@ -965,9 +965,10 @@ static void test_copy(void)
|
||||||
set_curr_dir_path(from, "test1.txt\0test2.txt\0");
|
set_curr_dir_path(from, "test1.txt\0test2.txt\0");
|
||||||
set_curr_dir_path(to, "test3.txt\0");
|
set_curr_dir_path(to, "test3.txt\0");
|
||||||
retval = SHFileOperation(&shfo);
|
retval = SHFileOperation(&shfo);
|
||||||
if (retval == DE_FLDDESTISFILE)
|
if (retval == DE_FLDDESTISFILE || /* Vista and W2K8 */
|
||||||
|
retval == DE_INVALIDFILES) /* Win7 */
|
||||||
{
|
{
|
||||||
/* Vista and W2K8 (broken or new behavior ?) */
|
/* Most likely new behavior */
|
||||||
ok(!shfo.fAnyOperationsAborted, "Didn't expect aborted operations\n");
|
ok(!shfo.fAnyOperationsAborted, "Didn't expect aborted operations\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue