diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-16 22:16:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 22:16:24 +0200 |
commit | fe833086313335f88a9aada54890a83077ff41bf (patch) | |
tree | a65afd4f4da1f126523f278e2462967d9adcaf07 /contrib/cirrus/check_image.sh | |
parent | 400851ac31a57f43916c4a1b653a33737f1e7e3b (diff) | |
parent | f58b754c8d3a45b8d9123c624bf299b87285c3bf (diff) | |
download | podman-fe833086313335f88a9aada54890a83077ff41bf.tar.gz podman-fe833086313335f88a9aada54890a83077ff41bf.tar.bz2 podman-fe833086313335f88a9aada54890a83077ff41bf.zip |
Merge pull request #3548 from cevich/disable_periodic_activity
Cirrus: Disable most periodic services/timers
Diffstat (limited to 'contrib/cirrus/check_image.sh')
-rwxr-xr-x | contrib/cirrus/check_image.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/cirrus/check_image.sh b/contrib/cirrus/check_image.sh index 67e807d61..690a38119 100755 --- a/contrib/cirrus/check_image.sh +++ b/contrib/cirrus/check_image.sh @@ -36,4 +36,10 @@ do "$(systemctl list-unit-files --no-legend $REQ_UNIT)" = "$REQ_UNIT enabled" || let "RET+=1" done +# Exits zero if any unit matching pattern is running +UNIT_STATUS=$(systemctl is-active $EVIL_UNITS; echo $?) +item_test "No interfering background units are active:" \ + "$UNIT_STATUS" -ne "0" || let "RET+=1" + +echo "Total failed tests: $RET" exit $RET |