Author: rhuijben
Date: Sun Jan 20 23:26:10 2013
New Revision: 1436005
URL: http://svn.apache.org/viewvc?rev=1436005&view=rev
Log:
* subversion/tests/cmdline/patch_tests.py
(single_line_mismatch): Add issue number and make sure all filenames match.
Somehow the patch was applied to the right target without this fix.
Modified:
subversion/trunk/subversion/tests/cmdline/patch_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/patch_tests.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/patch_tests.py?rev=1436005&r1=1436004&r2=1436005&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/patch_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/patch_tests.py Sun Jan 20
23:26:10 2013
@@ -4361,6 +4361,7 @@ def patch_replace_dir_with_file_and_vv(s
'patch', patch_file_path, sbox.wc_dir)
@XFail()
+@Issue(4297)
def single_line_mismatch(sbox):
"single line replacement mismatch"
@@ -4368,9 +4369,9 @@ def single_line_mismatch(sbox):
wc_dir = sbox.wc_dir
patch_file_path = make_patch_path(sbox)
svntest.main.file_write(patch_file_path, ''.join([
- "Index: tests\n",
+ "Index: test\n",
"===================================================================\n",
- "--- tests\t(revision 1)\n",
+ "--- test\t(revision 1)\n",
"+++ test\t(working copy)\n",
"@@ -1 +1 @@\n",
"-foo\n",