From: Yu Watanabe Date: Wed, 31 Oct 2018 01:01:11 +0000 (+0900) Subject: test: show name of testing functions in test-sd-device X-Git-Tag: v240~403^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecbe9873a9c36aa7ad7dbcb60f44a2c796854cac;p=thirdparty%2Fsystemd.git test: show name of testing functions in test-sd-device --- diff --git a/src/libsystemd/sd-device/test-sd-device.c b/src/libsystemd/sd-device/test-sd-device.c index 25ed3ecfea3..2e933cfed40 100644 --- a/src/libsystemd/sd-device/test-sd-device.c +++ b/src/libsystemd/sd-device/test-sd-device.c @@ -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);