File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 3636
3737# Collect failed units & do one daemon-reload to a basic sanity check
3838systemctl --state=failed --no-legend --no-pager | tee /failed
39+ test ! -s /failed
3940systemctl daemon-reload
4041
4142# Check that the early setup is actually skipped on reexec.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ MAX_QUEUE_SIZE=${NPROC:-2}
2323mapfile -t TEST_LIST < <( find /usr/lib/systemd/tests/unit-tests/ -maxdepth 1 -type f -name " ${TESTS_GLOB} " )
2424
2525# Reset state
26- rm -fv /failed-tests /skipped-tests /skipped
26+ rm -fv /failed /skipped /testok
2727
2828if ! systemd-detect-virt -qc; then
2929 # Make sure ping works for unprivileged users (for test-bpf-firewall)
@@ -112,4 +112,4 @@ set -x
112112# Test logs are sometimes lost, as the system shuts down immediately after
113113journalctl --sync
114114
115- exit 0
115+ test ! -s /failed
You can’t perform that action at this time.
0 commit comments