new testcase for shlwapi path functions (resend)

Stefan Huehner stefan at huehner.org
Wed Jun 22 03:18:23 CDT 2005


Hi,

attached patch adds a new testcase for combining an absolute and
relative portion of a path. This scheme i.e. occurs when a relative path
for an image is resolved relatively to the position of the html file
containting the img tag.

It was previously not applied. Anything wrong with it?

ChangeLog:
- new testcase for shlwapi path functions

Regards,
Stefan

-------------- next part --------------
Index: dlls/shlwapi/tests/path.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/tests/path.c,v
retrieving revision 1.22
diff -u -p -r1.22 path.c
--- dlls/shlwapi/tests/path.c	14 Jun 2005 17:21:18 -0000	1.22
+++ dlls/shlwapi/tests/path.c	22 Jun 2005 08:16:02 -0000
@@ -175,6 +175,7 @@ const TEST_URL_COMBINE TEST_COMBINE[] = 
     {"http://www.winehq.org/tests/#example", "tests9", 0, S_OK, "http://www.winehq.org/tests/tests9"},
     {"http://www.winehq.org/tests/../tests/", "/tests10/..", URL_DONT_SIMPLIFY, S_OK, "http://www.winehq.org/tests10/.."},
     {"http://www.winehq.org/tests/../", "tests11", URL_DONT_SIMPLIFY, S_OK, "http://www.winehq.org/tests/../tests11"},
+    {"/home/wine/dir1/test1.html", "../dir2/bla.jpg", 0, S_OK, "/home/wine/dir2/bla.jpg"},
 };
 
 struct {


More information about the wine-patches mailing list