kernel32/tests: Fix the mixed-case short path test to actually test something.
This commit is contained in:
parent
b1aaa86e14
commit
717fc6f3a8
|
@ -571,7 +571,7 @@ static void test_ShortPathCase(const char *tmpdir, const char *dirname,
|
|||
/* Now for the real test */
|
||||
for(i=0;i<strlen(shortbuf);i++)
|
||||
if (i % 2)
|
||||
shortbuf[i] = toupper(shortbuf[i]);
|
||||
shortbuf[i] = tolower(shortbuf[i]);
|
||||
hndl = CreateFileA(shortbuf,GENERIC_READ|GENERIC_WRITE,0,NULL,OPEN_EXISTING,0,NULL);
|
||||
ok(hndl!=INVALID_HANDLE_VALUE,"CreateFileA failed (%d)\n",GetLastError());
|
||||
CloseHandle(hndl);
|
||||
|
|
Loading…
Reference in New Issue