Not sure why the test failed, but maybe the test environment is too
slow? Even this does not fix the failure, by enabling debugging logs,
this hopefully provides more useful information for debugging.
For issue #37685.
(cherry picked from commit
b5bd717fcdf5127495e178cf3fe8cbd8b86d390c)
PrepareForShutdown b false
systemd-run --quiet --service-type=notify --unit=test-busctl-wait --pty \
- -p ExecStartPost="busctl emit /test org.freedesktop.fake1 TestSignal s success" \
- busctl --timeout=3 wait /test org.freedesktop.fake1 TestSignal | grep -qF 's "success"'
+ -p Environment=SYSTEMD_LOG_LEVEL=debug \
+ -p ExecStartPost="busctl emit /test org.freedesktop.fake1 TestSignal s success" \
+ busctl --timeout=30 wait /test org.freedesktop.fake1 TestSignal | grep -qF 's "success"'
busctl get-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager \
Version