test, sysext: Actually fail the whole operation if sd-merge worker failed

This also fixes a wrong merge failure check.
This commit is contained in:
Krzesimir Nowak
2024-03-25 08:33:22 +01:00
parent e2bdece284
commit baaa167926
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1323,7 +1323,7 @@ ln -sfTr "${real_ext_dir}" "${ext_data_path}"
prep_ro_hierarchy "${fake_root}" "${hierarchy}"
# run systemd-sysext
SYSTEMD_SYSEXT_HIERARCHIES="${hierarchy}" systemd-sysext --root="${fake_root}" --mutable=auto merge || die "expected merge to fail"
SYSTEMD_SYSEXT_HIERARCHIES="${hierarchy}" systemd-sysext --root="${fake_root}" --mutable=auto merge && die "expected merge to fail"
#