Parcourir la source

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 il y a 5 ans
Parent
commit
38fc52a50e
1 fichiers modifiés avec 608 ajouts et 290 suppressions
  1. 608 290
      src/test/test_dir.c

Fichier diff supprimé car celui-ci est trop grand
+ 608 - 290
src/test/test_dir.c


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff