Charles Davis : kernel32/tests: Fix the mixed-case short path test to actually test something.
Alexandre Julliard
julliard at winehq.org
Fri Oct 29 10:58:19 CDT 2010
Module: wine
Branch: master
Commit: 717fc6f3a82516e9326b8b7d7168783594d67d16
URL: http://source.winehq.org/git/wine.git/?a=commit;h=717fc6f3a82516e9326b8b7d7168783594d67d16
Author: Charles Davis <cdavis at mymail.mines.edu>
Date: Thu Oct 28 17:57:48 2010 -0600
kernel32/tests: Fix the mixed-case short path test to actually test something.
---
dlls/kernel32/tests/path.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/tests/path.c b/dlls/kernel32/tests/path.c
index 2775ab1..3d32767 100644
--- a/dlls/kernel32/tests/path.c
+++ b/dlls/kernel32/tests/path.c
@@ -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);
More information about the wine-cvs
mailing list