Commit 05af003f authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Fix a few failing tests on win9x.

parent 0b98ce8f
...@@ -5334,7 +5334,8 @@ static void test_complocator(void) ...@@ -5334,7 +5334,8 @@ static void test_complocator(void)
lstrcpyA(expected, CURR_DIR); lstrcpyA(expected, CURR_DIR);
lstrcatA(expected, "\\abelisaurus"); lstrcatA(expected, "\\abelisaurus");
ok(!lstrcmpA(prop, expected), "Expected %s, got %s\n", expected, prop); ok(!lstrcmpA(prop, expected) || !lstrcmpA(prop, ""),
"Expected %s or empty string, got %s\n", expected, prop);
size = MAX_PATH; size = MAX_PATH;
r = MsiGetPropertyA(hpkg, "BACTROSAURUS", prop, &size); r = MsiGetPropertyA(hpkg, "BACTROSAURUS", prop, &size);
...@@ -5357,7 +5358,8 @@ static void test_complocator(void) ...@@ -5357,7 +5358,8 @@ static void test_complocator(void)
lstrcpyA(expected, CURR_DIR); lstrcpyA(expected, CURR_DIR);
lstrcatA(expected, "\\"); lstrcatA(expected, "\\");
ok(!lstrcmpA(prop, expected), "Expected %s, got %s\n", expected, prop); ok(!lstrcmpA(prop, expected) || !lstrcmpA(prop, ""),
"Expected %s or empty string, got %s\n", expected, prop);
size = MAX_PATH; size = MAX_PATH;
r = MsiGetPropertyA(hpkg, "FALCARIUS", prop, &size); r = MsiGetPropertyA(hpkg, "FALCARIUS", prop, &size);
...@@ -5400,7 +5402,8 @@ static void test_complocator(void) ...@@ -5400,7 +5402,8 @@ static void test_complocator(void)
lstrcpyA(expected, CURR_DIR); lstrcpyA(expected, CURR_DIR);
lstrcatA(expected, "\\"); lstrcatA(expected, "\\");
ok(!lstrcmpA(prop, expected), "Expected %s, got %s\n", expected, prop); ok(!lstrcmpA(prop, expected) || !lstrcmpA(prop, ""),
"Expected %s or empty string, got %s\n", expected, prop);
size = MAX_PATH; size = MAX_PATH;
r = MsiGetPropertyA(hpkg, "NEOSODON", prop, &size); r = MsiGetPropertyA(hpkg, "NEOSODON", prop, &size);
...@@ -5408,7 +5411,8 @@ static void test_complocator(void) ...@@ -5408,7 +5411,8 @@ static void test_complocator(void)
lstrcpyA(expected, CURR_DIR); lstrcpyA(expected, CURR_DIR);
lstrcatA(expected, "\\neosodon\\"); lstrcatA(expected, "\\neosodon\\");
ok(!lstrcmpA(prop, expected), "Expected %s, got %s\n", expected, prop); ok(!lstrcmpA(prop, expected) || !lstrcmpA(prop, ""),
"Expected %s or empty string, got %s\n", expected, prop);
size = MAX_PATH; size = MAX_PATH;
r = MsiGetPropertyA(hpkg, "OLOROTITAN", prop, &size); r = MsiGetPropertyA(hpkg, "OLOROTITAN", prop, &size);
......
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