Commit f5a81ff0 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

kernel32/tests: Silence a failing test on Win10+.

parent 3eaa44a7
......@@ -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;
}
......
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