Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
38fc52a50e
1 zmenil súbory, kde vykonal 608 pridanie a 290 odobranie
  1. 608 290
      src/test/test_dir.c

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 608 - 290
src/test/test_dir.c


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov