Commit 717fc6f3 authored by Charles Davis's avatar Charles Davis Committed by Alexandre Julliard

kernel32/tests: Fix the mixed-case short path test to actually test something.

parent b1aaa86e
......@@ -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);
......
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