]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-hashmap.c
test: Use TEST macro in more cases 21501/head
authorJan Janssen <medhefgo@web.de>
Wed, 24 Nov 2021 11:11:17 +0000 (12:11 +0100)
committerJan Janssen <medhefgo@web.de>
Thu, 25 Nov 2021 14:03:10 +0000 (15:03 +0100)
commitc462e63eea7c781e00a3ce83055967dbbd67bf96
tree60176ff67195f375edf28d8f1215e16ed649bfc0
parent4f7452a8eb7a946efea927fae017d4d661097833
test: Use TEST macro in more cases

This converts to TEST macro in less trivial cases. This is mostly
due to having an intro or outro before/after the actual tests.

Some notable changes:
 - add a "test" to make sure the hashmap and ordered_hashmap tests
   from different compilation units are actually run in test-hashmap.c
 - make root arg a global var in test-install-root.c
 - slightly rework an EFI specific test in test-proc-cmdline.c
 - usage of saved_argv/saved_argc in test-process-util.c
 - splitting test-rlimit-util.c into several tests
 - moving the hwdb open check into intro in test-sd-hwdb.c
 - condense several "tests" into one in test-udev-util.c
13 files changed:
src/test/test-cgroup-setup.c
src/test/test-chown-rec.c
src/test/test-format-table.c
src/test/test-hashmap-plain.c
src/test/test-hashmap.c
src/test/test-install-root.c
src/test/test-mountpoint-util.c
src/test/test-proc-cmdline.c
src/test/test-process-util.c
src/test/test-rlimit-util.c
src/test/test-sd-hwdb.c
src/test/test-serialize.c
src/test/test-udev-util.c