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/12/25 13:42:03 UTC

svn commit: r1553374 - /subversion/trunk/subversion/tests/cmdline/prop_tests.py

Author: rhuijben
Date: Wed Dec 25 12:42:02 2013
New Revision: 1553374

URL: http://svn.apache.org/r1553374
Log:
Following up on r1553367, extend testcase to show that proplist is
still broken for DAV even though a single propget for a revision property
works correctly now.

* subversion/tests/cmdline/prop_tests.py
  (xml_unsafe_author): Extend test.

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

Modified: subversion/trunk/subversion/tests/cmdline/prop_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/prop_tests.py?rev=1553374&r1=1553373&r2=1553374&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/prop_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/prop_tests.py Wed Dec 25 12:42:02 2013
@@ -2638,10 +2638,23 @@ def xml_unsafe_author(sbox):
   svntest.actions.run_and_verify_info(expected_info, wc_dir)
 
   # mod_dav_svn sends svn:author (via PROPFIND for DAV)
+  # Since r1553367 this works correctly on ra_serf, since we now request
+  # a single property value which somehow triggers different behavior
   svntest.actions.run_and_verify_svn(None, ['foo\bbar'], [],
                                      'propget', '--revprop', '-r', '1',
                                      'svn:author', '--strict', wc_dir)
 
+  # But a proplist of this property value still fails via DAV.
+  expected_output = [
+    'Unversioned properties on revision 1:\n',
+    '  svn:author\n',
+    '  svn:date\n',
+    '  svn:log\n'
+  ]
+  svntest.actions.run_and_verify_svn(None, expected_output, [],
+                                     'proplist', '--revprop', '-r', '1',
+                                     wc_dir)
+
 
 ########################################################################
 # Run the tests