msi/tests: Fix test that depends on the order of the files in a directory.

This commit is contained in:
Paul Vriens 2008-02-27 09:16:20 +01:00 committed by Alexandre Julliard
parent ae91e974eb
commit 1bbac341df
1 changed files with 5 additions and 2 deletions

View File

@ -3660,8 +3660,11 @@ static void test_movefiles(void)
ok(!delete_pf("msitest\\application", TRUE), "File should not exist\n");
ok(delete_pf("msitest\\wildcard", TRUE), "File not moved\n");
ok(!delete_pf("msitest\\ape", TRUE), "File moved\n");
ok(delete_pf("msitest\\foo", TRUE), "File not moved\n");
ok(!delete_pf("msitest\\fao", TRUE), "File should not exist\n");
/* either fao or foo will be moved depending on directory order */
if (delete_pf("msitest\\foo", TRUE))
ok(!delete_pf("msitest\\fao", TRUE), "File should not exist\n");
else
ok(delete_pf("msitest\\fao", TRUE), "File not moved\n");
ok(delete_pf("msitest\\single", TRUE), "File not moved\n");
ok(!delete_pf("msitest\\fbod", TRUE), "File moved\n");
ok(delete_pf("msitest\\budding", TRUE), "File not moved\n");