diff --git a/test/test-functions b/test/test-functions index 459baea34a6..fdab3b9d410 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1309,7 +1309,7 @@ install_config_files() { : >"$initdir/etc/resolv.conf" # set the hostname - echo systemd-testsuite >"$initdir/etc/hostname" + echo 'H' >"$initdir/etc/hostname" # let's set up just one image with the traditional verbose output if [ "${IMAGE_NAME:?}" != "basic" ]; then diff --git a/test/units/testsuite-48.sh b/test/units/testsuite-48.sh index 0ce8e9c067b..147f6fa54fa 100755 --- a/test/units/testsuite-48.sh +++ b/test/units/testsuite-48.sh @@ -16,11 +16,11 @@ systemctl start testservice-48.target # granularity of one second, which means the manager's unit cache won't be # marked as dirty when writing the unit file, unless we wait at least a full # second after the previous daemon-reload. -# May 07 23:12:20 systemd-testsuite testsuite-48.sh[30]: + cat -# May 07 23:12:20 systemd-testsuite testsuite-48.sh[30]: + ls -l --full-time /etc/systemd/system/testservice-48.service -# May 07 23:12:20 systemd-testsuite testsuite-48.sh[52]: -rw-r--r-- 1 root root 50 2020-05-07 23:12:20.000000000 +0100 / -# May 07 23:12:20 systemd-testsuite testsuite-48.sh[30]: + stat -f --format=%t /etc/systemd/system/testservice-48.servic -# May 07 23:12:20 systemd-testsuite testsuite-48.sh[53]: ef53 +# May 07 23:12:20 H testsuite-48.sh[30]: + cat +# May 07 23:12:20 H testsuite-48.sh[30]: + ls -l --full-time /etc/systemd/system/testservice-48.service +# May 07 23:12:20 H testsuite-48.sh[52]: -rw-r--r-- 1 root root 50 2020-05-07 23:12:20.000000000 +0100 / +# May 07 23:12:20 H testsuite-48.sh[30]: + stat -f --format=%t /etc/systemd/system/testservice-48.servic +# May 07 23:12:20 H testsuite-48.sh[53]: ef53 sleep 3.1 cat >/run/systemd/system/testservice-48.service <