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 2014/02/25 18:09:18 UTC

svn commit: r1571747 - /subversion/trunk/subversion/tests/cmdline/commit_tests.py

Author: rhuijben
Date: Tue Feb 25 17:09:18 2014
New Revision: 1571747

URL: http://svn.apache.org/r1571747
Log:
* subversion/tests/cmdline/commit_tests.py
  (commit_deep_deleted): Add regression test for the assertion failed that
    we get on the user list. After many failed attempts I can finally
    reproduce it.

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

Modified: subversion/trunk/subversion/tests/cmdline/commit_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/commit_tests.py?rev=1571747&r1=1571746&r2=1571747&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/commit_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/commit_tests.py Tue Feb 25 17:09:18 2014
@@ -3015,7 +3015,20 @@ def commit_cp_with_deep_delete(sbox):
                                         None,
                                         wc_dir)
 
-  
+@XFail()
+def commit_deep_deleted(sbox):
+  "try to commit a deep descendant of a deleted node"
+
+  sbox.build()
+
+  sbox.simple_move('A', 'AA')
+  sbox.simple_rm('AA/D')
+
+  svntest.actions.run_and_verify_commit(sbox.wc_dir,
+                                        None,
+                                        None,
+                                        None,
+                                        sbox.ospath('AA/D'))
 
 ########################################################################
 # Run the tests
@@ -3090,6 +3103,7 @@ test_list = [ None,
               last_changed_of_copied_subdir,
               commit_unversioned,
               commit_cp_with_deep_delete,
+              commit_deep_deleted,
              ]
 
 if __name__ == '__main__':