From e763342091fc97c15d0f54119e27452433c59e88 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 2 Feb 2021 17:16:41 +0000 Subject: [PATCH] test: add empty /etc/resolv.conf in test image Portable services have a BindPath pointing to it, so it needs to be available in the image --- test/test-functions | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-functions b/test/test-functions index 612a693e8a7..e3831f28f10 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1106,6 +1106,7 @@ install_config_files() { # we want an empty environment > $initdir/etc/environment > $initdir/etc/machine-id + > $initdir/etc/resolv.conf # set the hostname echo systemd-testsuite > $initdir/etc/hostname -- 2.47.3