mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:40:51 +00:00
kernel32/tests: Silence a failing test on Win10+.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
This commit is contained in:
parent
3eaa44a75c
commit
f5a81ff02a
|
@ -87,7 +87,9 @@ static void test_query_dos_deviceA(void)
|
|||
for (;;) {
|
||||
if (!*p) break;
|
||||
ret2 = QueryDosDeviceA( p, buffer2, sizeof(buffer2) );
|
||||
ok(ret2, "QueryDosDeviceA failed to return current mapping for %s, last error %lu\n", p, GetLastError());
|
||||
/* Win10+ exposes security device which requires extra priviledges to be queried. So skip it */
|
||||
ok(ret2 || broken( !strcmp( p, "MSSECFLTSYS" ) && GetLastError() == ERROR_ACCESS_DENIED ),
|
||||
"QueryDosDeviceA failed to return current mapping for %s, last error %lu\n", p, GetLastError());
|
||||
p += strlen(p) + 1;
|
||||
if (ret <= (p-buffer)) break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue