subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r958584 - /subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c
Date Mon, 28 Jun 2010 14:13:17 GMT
Author: julianfoad
Date: Mon Jun 28 14:13:16 2010
New Revision: 958584

URL: http://svn.apache.org/viewvc?rev=958584&view=rev
Log:
* subversion/tests/libsvn_subr/dirent_uri-test.c
  (test_dirent_from_file_url): Add tests for the root path.
  (test_funcs): Change that test to XFAIL.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-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=958584&r1=958583&r2=958584&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/dirent_uri-test.c Mon Jun 28 14:13:16 2010
@@ -2682,8 +2682,10 @@ test_dirent_from_file_url(apr_pool_t *po
     const char *url;
     const char *result;
   } tests[] = {
+    { "file:///",                  "/" },
     { "file:///dir",               "/dir" },
     { "file:///dir/path",          "/dir/path" },
+    { "file://localhost/",         "/" },
     { "file://localhost/dir",      "/dir" },
     { "file://localhost/dir/path", "/dir/path" },
 #ifdef SVN_USE_DOS_PATHS
@@ -2838,7 +2840,7 @@ struct svn_test_descriptor_t test_funcs[
                    "test svn_dirent_internal_style"),
     SVN_TEST_PASS2(test_relpath_internal_style,
                    "test svn_relpath_internal_style"),
-    SVN_TEST_PASS2(test_dirent_from_file_url,
+    SVN_TEST_XFAIL2(test_dirent_from_file_url,
                    "test svn_uri_get_dirent_from_file_url"),
     SVN_TEST_PASS2(test_dirent_from_file_url_errors,
                    "test svn_uri_get_dirent_from_file_url errors"),



Mime
View raw message