]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: use systemd.status-unit-format=name in all but one test
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 25 Mar 2020 12:43:20 +0000 (13:43 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 Mar 2020 10:31:10 +0000 (12:31 +0200)
We want to test the traditional output, but the non-default one is generally
much nicer for debugging (and takes less space...).

test/test-functions

index ead815f2fab148e6d932eb4a9d3fd5c458ae9c65..ee2dca64f8ed4d38b99a2dcbd8eef0ddc4605c81 100644 (file)
@@ -919,6 +919,12 @@ install_config_files() {
 
     # set the hostname
     echo systemd-testsuite > $initdir/etc/hostname
+
+    # let's set up just one image with the traditional verbose output
+    if [ ${IMAGE_NAME} != "basic" ]; then
+        mkdir -p $initdir/etc/systemd/system.conf.d
+        echo -e '[Manager]\nStatusUnitFormat=name' >$initdir/etc/systemd/system.conf.d/status.conf
+    fi
 }
 
 install_basic_tools() {