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 2013/02/07 20:06:03 UTC

svn commit: r1443666 - /subversion/trunk/subversion/tests/cmdline/update_tests.py

Author: rhuijben
Date: Thu Feb  7 19:06:02 2013
New Revision: 1443666

URL: http://svn.apache.org/r1443666
Log:
* subversion/tests/cmdline/update_tests.py
  (windows_invalid_characters): Rename to ...
  (windows_update_backslash): ... this, to hide that I initially tried to
    test more cases. Add comment.

  (test_list): Update reference.

Modified:
    subversion/trunk/subversion/tests/cmdline/update_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/update_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/update_tests.py?rev=1443666&r1=1443665&r2=1443666&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/update_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/update_tests.py Thu Feb  7 19:06:02 2013
@@ -6567,8 +6567,8 @@ def move_update_props(sbox):
 
 @Issues(3288)
 @SkipUnless(svntest.main.is_os_windows)
-def windows_invalid_characters(sbox):
-  "checkout with invalid NTFS characters"
+def windows_update_backslash(sbox):
+  "test filename with backslashes inside"
 
   sbox.build()
 
@@ -6579,8 +6579,10 @@ def windows_invalid_characters(sbox):
                     '-m', '',
                     'mkdir', 'A/completely\\unusable\\dir')
 
-  expected_error = 'svn: E155000: .* is not valid.*'
+  # No error and a proper skip + recording in the working copy would also
+  # be a good result. This just verifies current behavior.
 
+  expected_error = 'svn: E155000: .* is not valid.*'
   svntest.actions.run_and_verify_svn(wc_dir, None, expected_error, 'up',
                                      wc_dir)
 
@@ -6667,7 +6669,7 @@ test_list = [ None,
               incomplete_overcomplete,
               update_swapped_depth_dirs,
               move_update_props,
-              windows_invalid_characters,
+              windows_update_backslash,
              ]
 
 if __name__ == '__main__':