subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sch...@apache.org
Subject svn commit: r1603750 - /subversion/trunk/subversion/tests/cmdline/lock_tests.py
Date Thu, 19 Jun 2014 08:18:40 GMT
Author: schabi
Date: Thu Jun 19 08:18:39 2014
New Revision: 1603750

URL: http://svn.apache.org/r1603750
Log:
Enhance the regression test added by Bert in r1603497 to check both revs.

* subversion/tests/cmdline/lock_tests.py
  (lock_commit_bump): Add explicit check for both 'Revision' and
    'Last Changed Revision' not being bumped, as the implicit check
    performed after the commit only checks the first one.

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

Modified: subversion/trunk/subversion/tests/cmdline/lock_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/lock_tests.py?rev=1603750&r1=1603749&r2=1603750&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/lock_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/lock_tests.py Thu Jun 19 08:18:39 2014
@@ -2335,12 +2335,21 @@ def lock_commit_bump(sbox):
   })
   expected_status = svntest.actions.get_virginal_state(wc_dir, 1)
   expected_status.tweak('A/mu', wc_rev=3)
-
+  
   svntest.actions.run_and_verify_commit(wc_dir,
                                         expected_output,
                                         expected_status,
                                         None, wc_dir)
 
+  # We explicitly check both the Revision and Last Changed Revision.
+  expected_infos = [ { 
+    'Revision'           : '1' ,
+    'Last Changed Rev'   : '1' ,
+    'URL'                : '.*',
+    'Lock Token'         : None, }
+  ]
+  svntest.actions.run_and_verify_info(expected_infos, 
+                                      sbox.ospath('iota'))
 
 
 ########################################################################



Mime
View raw message