Author: philip
Date: Wed Jan 27 15:58:27 2016
New Revision: 1727103

URL: http://svn.apache.org/viewvc?rev=1727103&view=rev
Log:
* subversion/tests/cmdline/svnsync_tests.py
  (up_to_date_sync): New XFAIL test, sync of up-to-date repository asserts.
  (test_list): Add new test.

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

Modified: subversion/trunk/subversion/tests/cmdline/svnsync_tests.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnsync_tests.py?rev=1727103&r1=1727102&r2=1727103&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnsync_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnsync_tests.py Wed Jan 27 
15:58:27 2016
@@ -572,6 +572,21 @@ PROPS-END
   # Compare the dump produced by the mirror repository with expected
   verify_mirror(dest_sbox, dump_out)
 
+@XFail()
+def up_to_date_sync(sbox):
+  """sync that does nothing"""
+
+  # An up-to-date mirror.
+  sbox.build(create_wc=False)
+  dest_sbox = sbox.clone_dependent()
+  dest_sbox.build(create_wc=False, empty=True)
+  svntest.actions.enable_revprop_changes(dest_sbox.repo_dir)
+  run_init(dest_sbox.repo_url, sbox.repo_url)
+  run_sync(dest_sbox.repo_url)
+
+  # Another sync should be a no-op
+  run_sync(dest_sbox.repo_url)
+
 
 ########################################################################
 # Run the tests
@@ -609,6 +624,7 @@ test_list = [ None,
               delete_revprops,
               fd_leak_sync_from_serf_to_local, # calls setrlimit
               mergeinfo_contains_r0,
+              up_to_date_sync,
              ]
 
 if __name__ == '__main__':


Reply via email to