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

This commit is contained in:
Charles Davis 2010-10-28 17:57:48 -06:00 committed by Alexandre Julliard
parent b1aaa86e14
commit 717fc6f3a8
1 changed files with 1 additions and 1 deletions

View File

@ -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);