From 97f1afbd3b5ee94adcb736d43c55ad468d6c1dd8 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Mon, 17 Mar 2008 12:16:03 -0500 Subject: [PATCH] msi: Skip the endlines test if the table fails on import. --- dlls/msi/tests/db.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c index ebcdc778789..5bb049ddb9a 100644 --- a/dlls/msi/tests/db.c +++ b/dlls/msi/tests/db.c @@ -1643,7 +1643,12 @@ static void test_msiimport(void) ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); 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); ok(r == ERROR_FUNCTION_FAILED,