summaryrefslogtreecommitdiff
path: root/common/tests
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-06 16:41:08 +0200
committerStef Walter <stefw@gnome.org>2013-05-21 11:27:32 +0200
commit7b848defc704cc1fbb47a16b23727583c14b804d (patch)
tree4476037ffe6efc6b6f05fbc446e2ca80547e9df2 /common/tests
parent10d26767fa39f43b0aabb82d73ed88b2c2522397 (diff)
Support /xxx/yyy as an absolute path with Win32
Because win32 code doesn't just run on windows, wine runs with unix style paths.
Diffstat (limited to 'common/tests')
-rw-r--r--common/tests/test-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tests/test-path.c b/common/tests/test-path.c
index 8263d1f..def4199 100644
--- a/common/tests/test-path.c
+++ b/common/tests/test-path.c
@@ -174,7 +174,7 @@ test_absolute (CuTest *tc)
#else /* OS_WIN32 */
CuAssertTrue (tc, p11_path_absolute ("C:\\home"));
CuAssertTrue (tc, !p11_path_absolute ("home"));
- CuAssertTrue (tc, !p11_path_absolute ("/home"));
+ CuAssertTrue (tc, p11_path_absolute ("/home"));
#endif
}