Commit bcab6625 authored by Alexandre Julliard's avatar Alexandre Julliard

setupapi/tests: Fix a test failure on latest Windows 10.

parent ec94d0d5
......@@ -59,7 +59,8 @@ static const char tmpfilename[] = ".\\tmp.inf";
"aaaaaaaaaaaaaaaa" A256
#define A1200 A400 A400 A400
#define A511 A255 A256
#define A4097 "a" A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256
#define A4096 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256 A256
#define A4097 "a" A4096
#define STD_HEADER "[Version]\r\nSignature=\"$CHICAGO$\"\r\n"
......@@ -452,6 +453,11 @@ static void test_key_names(void)
!strcmp( field, A1200), /* Vista, W2K8 */
"line %u: bad field %s/%s\n",
i, field, key_names[i].fields[index] );
else if (i == 52)
ok( !strcmp( field, key_names[i].fields[index] ) ||
!strcmp( field, A4096), /* Win10 >= 1709 */
"line %u: bad field %s/%s\n",
i, field, key_names[i].fields[index] );
else /* don't compare drive letter of paths */
if (field[0] && field[1] == ':' && field[2] == '\\')
ok( !strcmp( field + 1, key_names[i].fields[index] + 1 ),
......
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