浏览代码

test_dir: Refactor common code out of the dir_format unit tests

Also:
* delete some obsolete code that was #if 0
* improve cleanup on failure
* make the dir_format tests more consistent with each other
* construct the descriptors using smartlist chunks

This refactor is incomplete, because removing the remaining duplicate
code would be time-consuming.

Part of 29017 and 29018.
teor 5 年之前
父节点
当前提交
38fc52a50e
共有 1 个文件被更改,包括 608 次插入290 次删除
  1. 608 290
      src/test/test_dir.c

文件差异内容过多而无法显示
+ 608 - 290
src/test/test_dir.c


部分文件因为文件数量过多而无法显示