From: Zbigniew Jędrzejewski-Szmek Date: Mon, 21 Jun 2021 17:20:41 +0000 (+0200) Subject: test-mount-util: add usual print headers X-Git-Tag: v249-rc2~29^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=917578880fa1e4392c95b6a22e713ef31012125b;p=thirdparty%2Fsystemd.git test-mount-util: add usual print headers --- diff --git a/src/test/test-mount-util.c b/src/test/test-mount-util.c index ac64e750598..e25b4464fd7 100644 --- a/src/test/test-mount-util.c +++ b/src/test/test-mount-util.c @@ -21,6 +21,8 @@ static void test_mount_option_mangle(void) { char *opts = NULL; unsigned long f; + log_info("/* %s */", __func__); + assert_se(mount_option_mangle(NULL, MS_RDONLY|MS_NOSUID, &f, &opts) == 0); assert_se(f == (MS_RDONLY|MS_NOSUID)); assert_se(opts == NULL); @@ -81,6 +83,8 @@ static void test_bind_remount_recursive(void) { _cleanup_free_ char *subdir = NULL; const char *p; + log_info("/* %s */", __func__); + if (geteuid() != 0 || have_effective_cap(CAP_SYS_ADMIN) <= 0) { (void) log_tests_skipped("not running privileged"); return; @@ -134,6 +138,8 @@ static void test_bind_remount_recursive(void) { static void test_bind_remount_one(void) { pid_t pid; + log_info("/* %s */", __func__); + if (geteuid() != 0 || have_effective_cap(CAP_SYS_ADMIN) <= 0) { (void) log_tests_skipped("not running privileged"); return;