Author: jun66j5
Date: Tue May 30 02:09:36 2023
New Revision: 1910129

URL: http://svn.apache.org/viewvc?rev=1910129&view=rev
Log:
Follow-up to r1909127, fix copy_tests.py 17 on Windows

* subversion/tests/cmdline/copy_tests.py
  (wc_move_parent_into_child): Escape paths in regex.

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

Modified: subversion/trunk/subversion/tests/cmdline/copy_tests.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/copy_tests.py?rev=1910129&r1=1910128&r2=1910129&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/copy_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/copy_tests.py Tue May 30 02:09:36 
2023
@@ -1295,7 +1295,7 @@ def wc_move_parent_into_child(sbox):
   os.chdir(wc_dir)
   
   expected_error = "svn: E200007: Cannot move path '%s' into its own " \
-                   "child '%s'" % (from_path, to_path)
+                   "child '%s'" % (re.escape(from_path), re.escape(to_path))
   svntest.actions.run_and_verify_svn(None, expected_error,
                                      'mv',
                                      '.', 'F/B')


Reply via email to