]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-mount-util: add usual print headers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 21 Jun 2021 17:20:41 +0000 (19:20 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 22 Jun 2021 05:42:03 +0000 (14:42 +0900)
src/test/test-mount-util.c

index ac64e7505987122ff30b2d8d78b00c42eba02fff..e25b4464fd7b0c8303f525a03ee48794aea3ead7 100644 (file)
@@ -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;