Commit 1bbac341 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

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

parent ae91e974
...@@ -3660,8 +3660,11 @@ static void test_movefiles(void) ...@@ -3660,8 +3660,11 @@ static void test_movefiles(void)
ok(!delete_pf("msitest\\application", TRUE), "File should not exist\n"); 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\\wildcard", TRUE), "File not moved\n");
ok(!delete_pf("msitest\\ape", TRUE), "File moved\n"); ok(!delete_pf("msitest\\ape", TRUE), "File moved\n");
ok(delete_pf("msitest\\foo", TRUE), "File not moved\n"); /* either fao or foo will be moved depending on directory order */
ok(!delete_pf("msitest\\fao", TRUE), "File should not exist\n"); 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\\single", TRUE), "File not moved\n");
ok(!delete_pf("msitest\\fbod", TRUE), "File moved\n"); ok(!delete_pf("msitest\\fbod", TRUE), "File moved\n");
ok(delete_pf("msitest\\budding", TRUE), "File not moved\n"); ok(delete_pf("msitest\\budding", TRUE), "File not moved\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment