You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/12/22 14:43:43 UTC

svn commit: r1222229 - /subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py

Author: stsp
Date: Thu Dec 22 13:43:42 2011
New Revision: 1222229

URL: http://svn.apache.org/viewvc?rev=1222229&view=rev
Log:
* subversion/tests/cmdline/svnadmin_tests.py
  (hotcopy_format): Remove this test which compared the 'db/format' file after
   a hotcopy. It is now a subset of hotcopy_dot and hotcopy_incremental tests.

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

Modified: subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py?rev=1222229&r1=1222228&r2=1222229&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py Thu Dec 22 13:43:42 2011
@@ -432,33 +432,6 @@ def hotcopy_dot(sbox):
 
 #----------------------------------------------------------------------
 
-def hotcopy_format(sbox):
-  "'svnadmin hotcopy' checking db/format file"
-  sbox.build()
-
-  backup_dir, backup_url = sbox.add_repo_path('backup')
-  exit_code, output, errput = svntest.main.run_svnadmin("hotcopy",
-                                                        sbox.repo_dir,
-                                                        backup_dir)
-  if errput:
-    print("Error: hotcopy failed")
-    raise svntest.Failure
-
-  # verify that the db/format files are the same
-  fp = open(os.path.join(sbox.repo_dir, "db", "format"))
-  contents1 = fp.read()
-  fp.close()
-
-  fp2 = open(os.path.join(backup_dir, "db", "format"))
-  contents2 = fp2.read()
-  fp2.close()
-
-  if contents1 != contents2:
-    print("Error: db/format file contents do not match after hotcopy")
-    raise svntest.Failure
-
-#----------------------------------------------------------------------
-
 def setrevprop(sbox):
   "'setlog' and 'setrevprop', bypassing hooks'"
   sbox.build()
@@ -1609,7 +1582,6 @@ test_list = [ None,
               dump_move_dir_modify_child,
               dump_quiet,
               hotcopy_dot,
-              hotcopy_format,
               setrevprop,
               verify_windows_paths_in_repos,
               verify_incremental_fsfs,