mirror of
https://github.com/systemd/systemd
synced 2024-07-21 02:05:05 +00:00
tests: use "H" as the hostname
"systemd-testsuite" gets in the way when grepping for "testsuite-*.sh". Also, the name doesn't matter for anything, so let's just use something very short to save space.
This commit is contained in:
parent
8fc1efa88f
commit
ea0d33e2af
|
@ -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
|
||||
|
|
|
@ -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 <<EOF
|
||||
|
|
Loading…
Reference in a new issue