summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2024-02-14 10:01:57 +0100
committerFranck Bui <fbui@suse.com>2024-02-14 10:21:33 +0100
commit08abfd0b8c8e50e6be411ed9c909e6ccc893f223 (patch)
treebc20245d6de88fe5425d96faa3ff14cbdd5d12df
parenttest: make sure that sd-boot is installed before testing bootctl (diff)
downloadsystemd-08abfd0b8c8e50e6be411ed9c909e6ccc893f223.tar.xz
systemd-08abfd0b8c8e50e6be411ed9c909e6ccc893f223.zip
test: make sure to install the filesystem package in the test image on SUSE
Othewise test images are missing the tmpfiles snippets used to create the very basic files at boot, which can be useful when a test wants to reuse the OS tree (is already running in) for spawning a new container in pristine state.
-rw-r--r--test/test-functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions
index 0d850098ec..ce7e03d745 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -1378,6 +1378,9 @@ install_rpm() {
install_suse_systemd() {
local pkgs
+ dinfo "Install basic filesystem structure"
+ install_rpm filesystem
+
dinfo "Install SUSE systemd"
pkgs=(