subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1665850 - /subversion/trunk/subversion/tests/cmdline/upgrade_tests.py
Date Wed, 11 Mar 2015 11:53:40 GMT
Author: philip
Date: Wed Mar 11 11:53:40 2015
New Revision: 1665850

URL: http://svn.apache.org/r1665850
Log:
* subversion/tests/cmdline/upgrade_tests.py
  (auto_analyze): Verify table is initially not present.

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

Modified: subversion/trunk/subversion/tests/cmdline/upgrade_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/upgrade_tests.py?rev=1665850&r1=1665849&r2=1665850&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/upgrade_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/upgrade_tests.py Wed Mar 11 11:53:40 2015
@@ -1450,7 +1450,12 @@ def auto_analyze(sbox):
   # Don't use svn to do relocate as that will add the table.
   val = svntest.wc.sqlite_exec(sbox.wc_dir,
                                "update repository "
-                               "set root ='" + sbox.repo_url + "'");
+                               "set root ='" + sbox.repo_url + "'")
+  val = svntest.wc.sqlite_exec(sbox.wc_dir,
+                               "select 1 from sqlite_master "
+                               "where name = 'sqlite_stat1'")
+  if val != None:
+    raise svntest.Failure("initial state failed")
 
   # Make working copy read-only (but not wc_dir itself as
   # svntest.main.chmod_tree will not reset it.)



Mime
View raw message