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.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1910129 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/subversion/tests/cmdline/copy_tests.py b/subversion/tests/cmdline/copy_tests.py
index 5659812..749e659 100755
--- a/subversion/tests/cmdline/copy_tests.py
+++ b/subversion/tests/cmdline/copy_tests.py
@@ -1295,7 +1295,7 @@
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')