test: show name of testing functions in test-sd-device

This commit is contained in:
Yu Watanabe
2018-11-06 15:45:22 +09:00
parent c7d54daef9
commit ecbe9873a9
@@ -12,6 +12,8 @@ static void test_sd_device_basic(void) {
_cleanup_(sd_device_enumerator_unrefp) sd_device_enumerator *e = NULL;
sd_device *d;
log_info("/* %s */", __func__);
assert_se(sd_device_enumerator_new(&e) >= 0);
assert_se(sd_device_enumerator_allow_uninitialized(e) >= 0);
FOREACH_DEVICE(e, d) {
@@ -91,6 +93,8 @@ static void test_sd_device_enumerator_filter_subsystem(void) {
Hashmap *h;
char *s;
log_info("/* %s */", __func__);
assert_se(subsystems = hashmap_new(&string_hash_ops));
assert_se(sd_device_enumerator_new(&e) >= 0);