projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a02a49
)
Try try and use *nix style paths on Windows in uri tests.
author
Jonathan Chambers
<joncham@gmail.com>
Wed, 2 May 2012 17:05:08 +0000
(13:05 -0400)
committer
Jonathan Chambers
<joncham@gmail.com>
Wed, 2 May 2012 17:05:08 +0000
(13:05 -0400)
eglib/test/string-util.c
patch
|
blob
|
history
diff --git
a/eglib/test/string-util.c
b/eglib/test/string-util.c
index 3dbd738aba7fc7de580460d2a1942b9b573eab87..6c8b8892e94709c7fb502b03c257e3ce48fb680a 100644
(file)
--- a/
eglib/test/string-util.c
+++ b/
eglib/test/string-util.c
@@
-414,6
+414,8
@@
test_strstrip ()
RESULT
test_filename_to_uri ()
{
RESULT
test_filename_to_uri ()
{
+#ifdef G_OS_WIN32
+#else
char *s;
urit ("/a", "file:///a");
char *s;
urit ("/a", "file:///a");
@@
-432,6
+434,7
@@
test_filename_to_uri ()
urit ("/@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", "file:///@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
errit ("a");
errit ("./hola");
urit ("/@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", "file:///@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
errit ("a");
errit ("./hola");
+#endif
return OK;
}
return OK;
}
@@
-443,6
+446,8
@@
test_filename_to_uri ()
RESULT
test_filename_from_uri ()
{
RESULT
test_filename_from_uri ()
{
+#ifdef G_OS_WIN32
+#else
char *s;
fileit ("file:///a", "/a");
char *s;
fileit ("file:///a", "/a");
@@
-456,6
+461,7
@@
test_filename_from_uri ()
ferrit ("file:///%");
ferrit ("file:///%0");
ferrit ("file:///%jj");
ferrit ("file:///%");
ferrit ("file:///%0");
ferrit ("file:///%jj");
+#endif
return OK;
}
return OK;
}