diff --git a/test/units/testsuite-03.sh b/test/units/testsuite-03.sh index 289d8dac284..6ed7d8687a1 100755 --- a/test/units/testsuite-03.sh +++ b/test/units/testsuite-03.sh @@ -110,4 +110,21 @@ ELAPSED=$((END_SEC-START_SEC)) [[ "$ELAPSED" -ge 3 ]] && [[ "$ELAPSED" -le 5 ]] || exit 1 [[ "$RESULT" -ne 0 ]] || exit 1 +# Test transactions with cycles +# Provides coverage for issues like https://github.com/systemd/systemd/issues/26872 +for i in {0..19}; do + cat >"/run/systemd/system/transaction-cycle$i.service" <