http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60836b4
)
kernel32/tests: Add a test for GetShortPathName using a slash delimieter.
author
Jeremy White
<jwhite@codeweavers.com>
Mon, 21 Dec 2015 21:20:10 +0000
(15:20 -0600)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 24 Dec 2015 10:54:57 +0000
(11:54 +0100)
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/kernel32/tests/path.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/kernel32/tests/path.c
b/dlls/kernel32/tests/path.c
index 0e9415c31ee0eca6b80a0bc70143c5367915c654..63666c610f7c63dc961c9932d38cb7d5d2341ed4 100644
(file)
--- a/
dlls/kernel32/tests/path.c
+++ b/
dlls/kernel32/tests/path.c
@@
-872,6
+872,11
@@
static void test_PathNameA(CHAR *curdir, CHAR curDrive, CHAR otherDrive)
ok(lstrcmpiA(tmpstr,tmpstr1)==0,
"GetLongPathNameA returned '%s' instead of '%s'\n",tmpstr1,tmpstr);
}
+ sprintf(tmpstr,"%s/%s",SHORTDIR,SHORTFILE);
+ ok(GetShortPathNameA(tmpstr,tmpstr1,MAX_PATH),"GetShortPathNameA failed\n");
+ todo_wine
+ ok(lstrcmpiA(tmpstr,tmpstr1)==0,
+ "GetShortPathNameA returned '%s' instead of '%s'\n",tmpstr1,tmpstr);
/**/
sprintf(tmpstr,"%c:%s/%s",curdir[0],SHORTDIR,SHORTFILE);