Paul Vriens : shell32/tests: Fix the last test failure on Win9x.
Alexandre Julliard
julliard at winehq.org
Fri Jan 9 09:52:20 CST 2009
Module: wine
Branch: master
Commit: 7ea6c85e97ee231cd16f88c2d39d18fc89a9d4a0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7ea6c85e97ee231cd16f88c2d39d18fc89a9d4a0
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Thu Jan 8 17:09:44 2009 +0100
shell32/tests: Fix the last test failure on Win9x.
---
dlls/shell32/tests/shlfileop.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 38caaf3..d3e81a8 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -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 */
More information about the wine-cvs
mailing list