Commit 25d15c68 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ole32/tests: Fix a test failure on several platforms.

parent 9e394d86
...@@ -999,7 +999,9 @@ static void test_streamenum(void) ...@@ -999,7 +999,9 @@ static void test_streamenum(void)
/* the storage is left open until the enumerator is freed */ /* the storage is left open until the enumerator is freed */
r = StgOpenStorage( filename, NULL, STGM_SHARE_EXCLUSIVE | r = StgOpenStorage( filename, NULL, STGM_SHARE_EXCLUSIVE |
STGM_READWRITE |STGM_TRANSACTED, NULL, 0, &stg); STGM_READWRITE |STGM_TRANSACTED, NULL, 0, &stg);
ok(r==STG_E_SHAREVIOLATION, "StgCreateDocfile failed, res=%x\n", r); ok(r==STG_E_SHAREVIOLATION ||
r==STG_E_LOCKVIOLATION, /* XP-SP2/W2K3-SP1 and below */
"StgCreateDocfile failed, res=%x\n", r);
r = IEnumSTATSTG_Release(ee); r = IEnumSTATSTG_Release(ee);
ok (r == 0, "enum not released\n"); ok (r == 0, "enum not released\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