You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/07/07 17:59:40 UTC

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

Author: hwright
Date: Thu Jul  7 15:59:40 2011
New Revision: 1143896

URL: http://svn.apache.org/viewvc?rev=1143896&view=rev
Log:
Fix a variable reference in the test suite which is encountered when running
the tests with sharding.

* subversion/tests/cmdline/svnadmin_tests.py
  (fsfs_file): Look for the fsfs_sharding value in the options object of
    svntest.main.

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=1143896&r1=1143895&r2=1143896&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py Thu Jul  7 15:59:40 2011
@@ -465,7 +465,7 @@ def fsfs_file(repo_dir, kind, rev):
     if svntest.main.options.fsfs_sharding is None:
       return os.path.join(repo_dir, 'db', kind, '0', rev)
     else:
-      shard = int(rev) // svntest.main.fsfs_sharding
+      shard = int(rev) // svntest.main.options.fsfs_sharding
       path = os.path.join(repo_dir, 'db', kind, str(shard), rev)
 
       if svntest.main.options.fsfs_packing is None or kind == 'revprops':