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 2010/11/12 13:48:57 UTC
svn commit: r1034382 -
/subversion/trunk/subversion/tests/cmdline/patch_tests.py
Author: rhuijben
Date: Fri Nov 12 12:48:57 2010
New Revision: 1034382
URL: http://svn.apache.org/viewvc?rev=1034382&view=rev
Log:
* subversion/tests/cmdline/patch_tests.py
(patch_one_property): Expect \r\n as EOL on Windows. This fixes
patch_tests.py 28 "patch --strip propchanges cwd" on Windows.
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=1034382&r1=1034381&r2=1034382&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/patch_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/patch_tests.py Fri Nov 12 12:48:57 2010
@@ -3414,6 +3414,10 @@ def patch_one_property(sbox, trailing_eo
1, # dry-run
'--strip', '3')
+ if is_os_windows():
+ # On Windows 'svn pg' uses \r\n as EOL.
+ value = value.replace('\n', '\r\n')
+
svntest.actions.check_prop('k', wc_dir, [value])
def patch_strip_cwd(sbox):