- /* We should increase by 50% each time... */
- ok(moves <= ilog64(j / SIZE_STEP)*2, "Moved %u times", moves);
+ if (flags[i] & TDB_VERSION1) {
+ /* TDB1 simply over-size by 25%. */
+ ok(moves <= ilog64(j / SIZE_STEP)*4,
+ "Moved %u times", moves);
+ } else {
+ /* We should increase by 50% each time... */
+ ok(moves <= ilog64(j / SIZE_STEP)*2,
+ "Moved %u times", moves);
+ }