projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f97b7c
)
test: add a test case for #19920
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 14 Jun 2021 18:05:48 +0000
(
03:05
+0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 14 Jun 2021 18:06:09 +0000
(
03:06
+0900)
test/units/testsuite-42.sh
patch
|
blob
|
history
diff --git
a/test/units/testsuite-42.sh
b/test/units/testsuite-42.sh
index e47fab46e6e3cef2c73705a30fe7c61baba54479..4e6be7e06eb49c58fd804ca214e15f962470e6e5 100755
(executable)
--- a/
test/units/testsuite-42.sh
+++ b/
test/units/testsuite-42.sh
@@
-65,6
+65,10
@@
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
test -f /run/dbus2
+# https://github.com/systemd/systemd/issues/19920
+systemd-run --unit=dbus3.service --wait -p StandardOutput=tty -p StandardError=tty -p Type=dbus -p ExecStopPost='/bin/touch /run/dbus3' true \
+ && { echo 'unexpected success'; exit 1; }
+
cat >/tmp/notify1.sh <<EOF
#!/usr/bin/env bash