You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ar...@apache.org on 2010/09/22 11:40:38 UTC

svn commit: r999838 - in /subversion/trunk/subversion/tests/cmdline: svnrdump_tests.py svnrdump_tests_data/repo-with-copy-of-root-dir.dump

Author: artagnon
Date: Wed Sep 22 09:40:38 2010
New Revision: 999838

URL: http://svn.apache.org/viewvc?rev=999838&view=rev
Log:
* subversion/tests/cmdline/svnrdump_tests_data/repo-with-copy-of-root-dir.dump:
  Import new test data from svnsync_tests_data after converting the
  dumpfile from v2 to v3 for snvrdump.
  
* subversion/tests/cmdline/svnrdump_tests.py
  (skeleton_dump): Add a test to dump the skeleton repository for
  symmetry.
  
  (commit_a_copy_of_root_dump, commit_a_copy_of_root_load): Add a
  couple of tests to use the new test data.
  
  (test_list): Run the three new tests and mark them as passing.

Added:
    subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/repo-with-copy-of-root-dir.dump
Modified:
    subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py?rev=999838&r1=999837&r2=999838&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py Wed Sep 22 09:40:38 2010
@@ -167,6 +167,10 @@ def revision_0_load(sbox):
 #     docs/         (Added r6)
 #       README      (Added r6)
 
+def skeleton_dump(sbox):
+  "dump: skeleton repository"
+  run_dump_test(sbox, "skeleton.dump")
+
 def skeleton_load(sbox):
   "load: skeleton repository"
   run_load_test(sbox, "skeleton.dump")
@@ -267,6 +271,14 @@ def url_encoding_load(sbox):
   "load: url encoding issues"
   run_load_test(sbox, "url-encoding-bug.dump")
 
+def commit_a_copy_of_root_dump(sbox):
+  "dump: commit a copy of root"
+  run_dump_test(sbox, "repo-with-copy-of-root-dir.dump")
+
+def commit_a_copy_of_root_load(sbox):
+  "load: commit a copy of root"
+  run_load_test(sbox, "repo-with-copy-of-root-dir.dump")
+
 ########################################################################
 # Run the tests
 
@@ -276,6 +288,7 @@ test_list = [ None,
               basic_dump,
               revision_0_dump,
               revision_0_load,
+              skeleton_dump,
               skeleton_load,
               copy_and_modify_dump,
               copy_and_modify_load,
@@ -301,6 +314,8 @@ test_list = [ None,
               no_author_load,
               move_and_modify_in_the_same_revision_dump,
               move_and_modify_in_the_same_revision_load,
+              commit_a_copy_of_root_dump,
+              commit_a_copy_of_root_load,
              ]
 
 if __name__ == '__main__':

Added: subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/repo-with-copy-of-root-dir.dump
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/repo-with-copy-of-root-dir.dump?rev=999838&view=auto
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/repo-with-copy-of-root-dir.dump (added)
+++ subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/repo-with-copy-of-root-dir.dump Wed Sep 22 09:40:38 2010
@@ -0,0 +1,39 @@
+SVN-fs-dump-format-version: 3
+
+UUID: 7c1d1c84-647b-4ca5-9d20-057768670fee
+
+Revision-number: 0
+Prop-content-length: 56
+Content-length: 56
+
+K 8
+svn:date
+V 27
+2009-06-29T12:22:48.566680Z
+PROPS-END
+
+Revision-number: 1
+Prop-content-length: 104
+Content-length: 104
+
+K 10
+svn:author
+V 6
+kamesh
+K 8
+svn:date
+V 27
+2009-06-29T12:23:55.134926Z
+K 7
+svn:log
+V 4
+wwww
+PROPS-END
+
+Node-path: full
+Node-kind: dir
+Node-action: add
+Node-copyfrom-rev: 0
+Node-copyfrom-path: 
+
+