shell32/tests: Fix the last test failure on Win9x.

This commit is contained in:
Paul Vriens 2009-01-08 17:09:44 +01:00 committed by Alexandre Julliard
parent a2cf243776
commit 7ea6c85e97
1 changed files with 3 additions and 1 deletions

View File

@ -561,7 +561,9 @@ static void test_delete(void)
shfo.pFrom = "test1.txt\0";
shfo.wFunc = 0;
ret = SHFileOperation(&shfo);
ok(ret == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", ret);
ok(ret == ERROR_INVALID_PARAMETER ||
broken(ret == ERROR_SUCCESS), /* Win9x, NT4 */
"Expected ERROR_INVALID_PARAMETER, got %d\n", ret);
ok(file_exists("test1.txt"), "Expected test1.txt to exist\n");
/* try an invalid list, only one null terminator */