summaryrefslogtreecommitdiffstats
path: root/test/test-functions
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2024-07-01 18:06:45 +0200
committerFranck Bui <fbui@suse.com>2024-07-02 19:03:49 +0200
commita09825ce9fb3bd315f35654b6e6ee4f92c675cde (patch)
tree1f6aa7d35b838409318410985dee88226da0e2e4 /test/test-functions
parentMerge pull request #32628 from poettering/json-public (diff)
downloadsystemd-a09825ce9fb3bd315f35654b6e6ee4f92c675cde.tar.xz
systemd-a09825ce9fb3bd315f35654b6e6ee4f92c675cde.zip
test: install /etc/hosts
Needed for resolving the "localhost" hostname.
Diffstat (limited to 'test/test-functions')
-rw-r--r--test/test-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions
index 8b497b2e27..16e9c9c12a 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -1947,6 +1947,7 @@ EOF
install_config_files() {
dinfo "Install config files"
inst /etc/sysconfig/init || :
+ inst /etc/hosts
inst /etc/passwd
inst /etc/shadow
inst_any /etc/login.defs /usr/etc/login.defs