]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: show name of testing functions in test-sd-device
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 31 Oct 2018 01:01:11 +0000 (10:01 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 6 Nov 2018 06:45:22 +0000 (15:45 +0900)
src/libsystemd/sd-device/test-sd-device.c

index 25ed3ecfea3f16aa2dc8d504a9857146c26103b8..2e933cfed403d716d28acecff1909d3192913bc9 100644 (file)
@@ -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);