You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2013/03/08 01:24:08 UTC

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

Author: danielsh
Date: Fri Mar  8 00:24:08 2013
New Revision: 1454190

URL: http://svn.apache.org/r1454190
Log:
Add a test for a part of issue #3121 that appears to be working now.

* subversion/tests/cmdline/prop_tests.py
  (peg_rev_base_working): New test.
  (test_list): Run it.

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=1454190&r1=1454189&r2=1454190&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/prop_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/prop_tests.py Fri Mar  8 00:24:08 2013
@@ -2597,6 +2597,21 @@ def almost_known_prop_names(sbox):
                            " is not a valid svn: property name;"
                            " re-run with '--force' to set it")
 
+@Issue(3231)
+def peg_rev_base_working(sbox):
+  """peg rev @BASE, peg rev @WORKING"""
+
+  sbox.build()
+  wc_dir = sbox.wc_dir
+  
+  # set up a local prop mod
+  svntest.actions.set_prop('ordinal', 'ninth\n', sbox.ospath('iota'))
+  sbox.simple_commit(message='r2')
+  svntest.actions.set_prop('cardinal', 'nine\n', sbox.ospath('iota'))
+  svntest.actions.run_and_verify_svn(None, ['ninth\n'], [],
+                                     'propget', '--strict', 'ordinal',
+                                     sbox.ospath('iota') + '@BASE')
+
 ########################################################################
 # Run the tests
 
@@ -2641,6 +2656,7 @@ test_list = [ None,
               pristine_props_listed,
               inheritable_ignores,
               almost_known_prop_names,
+              peg_rev_base_working,
              ]
 
 if __name__ == '__main__':