From 50fb26d2379675c73fff9ecc574fb747bd7e7634 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Fri, 2 Jun 2023 16:53:45 +0200 Subject: [PATCH] test: probe a couple more paths in systemd-run --- test/units/testsuite-74.run.sh | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/test/units/testsuite-74.run.sh b/test/units/testsuite-74.run.sh index 33a8e1ebd22..cab524a0e71 100755 --- a/test/units/testsuite-74.run.sh +++ b/test/units/testsuite-74.run.sh @@ -7,17 +7,10 @@ set -o pipefail # shellcheck source=test/units/util.sh . "$(dirname "$0")"/util.sh -# FIXME(?): -# - empty ExecStart= is always inserted -# - weird results with systemd-run --property=ExecStart=false true -# - group settings for each section? -# - i.e systemd-run --remain-after-exit --on-clock-change -# --timer-property=After=systemd-journald.service true -# generates a unit that has two [Unit] and two [Timer] sections - systemd-run --help --no-pager systemd-run --version systemd-run --no-ask-password true +systemd-run --no-block --collect true export PARENT_FOO=bar touch /tmp/public-marker @@ -37,8 +30,9 @@ systemd-run --wait --pipe --slice-inherit --slice=foo \ bash -xec '[[ "$(