]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-42-EXECSTOPPOST: un-invert test
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 7 Apr 2021 23:23:49 +0000 (01:23 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 8 Apr 2021 18:21:50 +0000 (20:21 +0200)
Since we test for the file right below, it seems we expected the
command to succeed.

test/units/testsuite-42.sh

index 154398dd662e8a68c4c0b7823eb47403d5229515..087e2cb294e755d211b23e25d0e568819484badb 100755 (executable)
@@ -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 <<EOF