You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/04/10 01:56:44 UTC
svn commit: r1090716 - in /subversion/trunk/subversion/tests/libsvn_subr:
dirent_uri-test.c path-test.c
Author: rhuijben
Date: Sat Apr 9 23:56:43 2011
New Revision: 1090716
URL: http://svn.apache.org/viewvc?rev=1090716&view=rev
Log:
Following up on r1090699, try to fix the non-Windows path tests.
* subversion/tests/libsvn_subr/dirent_uri-test.c
(test_dirent_local_style): Remove uncanonical paths from tests.
* subversion/tests/libsvn_subr/path-test.c
(test_path_local_style): Remove uncanonical paths from tests.
Modified:
subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c
subversion/trunk/subversion/tests/libsvn_subr/path-test.c
Modified: subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c?rev=1090716&r1=1090715&r2=1090716&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c Sat Apr 9 23:56:43 2011
@@ -2330,11 +2330,9 @@ test_dirent_local_style(apr_pool_t *pool
{ "//server/share/dir", "\\\\server\\share\\dir" },
{ "//server/sh re/dir", "\\\\server\\sh re\\dir" },
#else
- { "a:/", "a:" }, /* Wrong but expected for svn_path_*() */
{ "a:/file", "a:/file" },
{ "dir/file", "dir/file" },
{ "/", "/" },
- { "//server/share/dir", "/server/share/dir" },
#endif
};
int i;
Modified: subversion/trunk/subversion/tests/libsvn_subr/path-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/path-test.c?rev=1090716&r1=1090715&r2=1090716&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/path-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/path-test.c Sat Apr 9 23:56:43 2011
@@ -1397,11 +1397,9 @@ test_path_local_style(apr_pool_t *pool)
{ "/", "\\" },
{ "//server/share/dir", "\\\\server\\share\\dir" },
#else
- { "a:/", "a:" },
{ "a:/file", "a:/file" },
{ "dir/file", "dir/file" },
{ "/", "/" },
- { "//server/share/dir", "/server/share/dir" },
#endif
{ NULL, NULL }
};