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 2015/10/03 20:18:01 UTC
svn commit: r1706616 -
/subversion/trunk/subversion/tests/cmdline/svnfsfs_tests.py
Author: stefan2
Date: Sat Oct 3 18:18:00 2015
New Revision: 1706616
URL: http://svn.apache.org/viewvc?rev=1706616&view=rev
Log:
Follow-up to r1706615: Forgot to commit the updated test.
* subversion/tests/cmdline/svnfsfs_tests.py
(load_index_sharded): Update the test to always produce the desired
input data ordering.
Modified:
subversion/trunk/subversion/tests/cmdline/svnfsfs_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/svnfsfs_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnfsfs_tests.py?rev=1706616&r1=1706615&r2=1706616&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnfsfs_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnfsfs_tests.py Sat Oct 3 18:18:00 2015
@@ -288,7 +288,13 @@ def load_index_sharded(sbox):
columns.append("junk")
items[i] = ' '.join(columns) + "\n"
- # first entry is for rev 1, pack starts at rev 0, though
+ # first entry shall be for rev 1, pack starts at rev 0, though
+ for i in range(0, len(items)):
+ if items[i].split()[3] == "1":
+ if i != 1:
+ items[i],items[1] = items[1],items[i]
+ break
+
assert(items[1].split()[3] == "1")
# Reload the index