From: Zbigniew Jędrzejewski-Szmek Date: Wed, 7 Apr 2021 23:23:49 +0000 (+0200) Subject: TEST-42-EXECSTOPPOST: un-invert test X-Git-Tag: v249-rc1~455^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61494724eee4f1c8a9192f1220776a08d92ee617;p=thirdparty%2Fsystemd.git TEST-42-EXECSTOPPOST: un-invert test Since we test for the file right below, it seems we expected the command to succeed. --- diff --git a/test/units/testsuite-42.sh b/test/units/testsuite-42.sh index 154398dd662..087e2cb294e 100755 --- a/test/units/testsuite-42.sh +++ b/test/units/testsuite-42.sh @@ -58,7 +58,7 @@ systemd-run --unit=dbus1.service --wait -p StandardOutput=tty -p StandardError=t || : test -f /run/dbus1 -! systemd-run --unit=dbus2.service --wait -p StandardOutput=tty -p StandardError=tty -p Type=dbus -p BusName=systemd.test.ExecStopPost -p ExecStopPost='/bin/touch /run/dbus2' true +systemd-run --unit=dbus2.service --wait -p StandardOutput=tty -p StandardError=tty -p Type=dbus -p BusName=systemd.test.ExecStopPost -p ExecStopPost='/bin/touch /run/dbus2' true test -f /run/dbus2 cat > /tmp/notify1.sh <