shell32/tests: Fix some test failures on Win9x and NT4.
This commit is contained in:
parent
b4dcc6b42a
commit
7c1885181e
|
@ -736,7 +736,7 @@ static void test_copy(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ok(retval == ERROR_CANCELLED, "Expected ERROR_CANCELLED, got %d\n", retval);
|
expect_retval(ERROR_CANCELLED, DE_OPCANCELLED /* Win9x, NT4 */);
|
||||||
ok(!file_exists("test6.txt"), "The file is copied - many files are "
|
ok(!file_exists("test6.txt"), "The file is copied - many files are "
|
||||||
"specified as a target\n");
|
"specified as a target\n");
|
||||||
}
|
}
|
||||||
|
@ -771,7 +771,7 @@ static void test_copy(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ok(retval == ERROR_CANCELLED, "Expected ERROR_CANCELLED, got %d\n", retval);
|
expect_retval(ERROR_CANCELLED, DE_OPCANCELLED /* Win9x, NT4 */);
|
||||||
ok(!file_exists("test6.txt"), "The file is copied - many files are "
|
ok(!file_exists("test6.txt"), "The file is copied - many files are "
|
||||||
"specified as a target\n");
|
"specified as a target\n");
|
||||||
}
|
}
|
||||||
|
@ -1552,7 +1552,7 @@ static void test_move(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ok(retval == ERROR_CANCELLED, "Expected ERROR_CANCELLED, got %d\n", retval);
|
expect_retval(ERROR_CANCELLED, DE_OPCANCELLED /* Win9x, NT4 */);
|
||||||
ok(!file_exists("test6.txt"), "The file is not moved - many files are "
|
ok(!file_exists("test6.txt"), "The file is not moved - many files are "
|
||||||
"specified as a target\n");
|
"specified as a target\n");
|
||||||
}
|
}
|
||||||
|
@ -1580,7 +1580,7 @@ static void test_move(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ok(retval == ERROR_CANCELLED, "Expected ERROR_CANCELLED, got %d\n", retval);
|
expect_retval(ERROR_CANCELLED, DE_OPCANCELLED /* Win9x, NT4 */);
|
||||||
ok(file_exists("test1.txt"), "The file is moved. Many files are specified\n");
|
ok(file_exists("test1.txt"), "The file is moved. Many files are specified\n");
|
||||||
ok(dir_exists("test4.txt"), "The directory is moved. Many files are specified\n");
|
ok(dir_exists("test4.txt"), "The directory is moved. Many files are specified\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue