mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[WINESYNC] msi/tests: Break out of the loop if both components are found in test_MsiEnumComponentsEx.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id f5b1a6b5c507fd2766725251af00efa5eb8431ee by Hans Leidekker <hans@codeweavers.com>
This commit is contained in:
@@ -13400,6 +13400,7 @@ static void test_MsiEnumComponentsEx(void)
|
||||
ok( !sid[0], "got \"%s\"\n", sid );
|
||||
ok( !len, "unexpected length %u\n", len );
|
||||
found1 = TRUE;
|
||||
if (found2) break;
|
||||
}
|
||||
if (!strcmp( comp2, guid ))
|
||||
{
|
||||
@@ -13407,6 +13408,7 @@ static void test_MsiEnumComponentsEx(void)
|
||||
ok( sid[0], "empty sid\n" );
|
||||
ok( len == strlen(sid), "unexpected length %u\n", len );
|
||||
found2 = TRUE;
|
||||
if (found1) break;
|
||||
}
|
||||
index++;
|
||||
guid[0] = 0;
|
||||
|
||||
Reference in New Issue
Block a user