msi: Skip the endlines test if the table fails on import.

This commit is contained in:
James Hawkins 2008-03-17 12:16:03 -05:00 committed by Alexandre Julliard
parent 2cce0040a0
commit 97f1afbd3b
1 changed files with 6 additions and 1 deletions

View File

@ -1643,7 +1643,12 @@ static void test_msiimport(void)
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
r = add_table_to_db(hdb, endlines1); r = add_table_to_db(hdb, endlines1);
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); if (r == ERROR_FUNCTION_FAILED)
{
/* win9x doesn't handle this case */
skip("endlines not handled correctly.\n");
return;
}
r = add_table_to_db(hdb, endlines2); r = add_table_to_db(hdb, endlines2);
ok(r == ERROR_FUNCTION_FAILED, ok(r == ERROR_FUNCTION_FAILED,