diff --git a/tests/test_apt.sh b/tests/test_apt.sh index b12a436fa6b87b8f8d5ed6620ab144ea64fb119d..5025556d93cb5f92796853eeced171eb6c8d5e6b 100755 --- a/tests/test_apt.sh +++ b/tests/test_apt.sh @@ -18,7 +18,7 @@ while fuser /var/lib/dpkg/lock >/dev/null 2>&1 ; do if (( $lock_counter > $lock_timeout )); then echo "APT is reported as locked for more than $lock_timeout seconds now..." echo "Either a big upgrade is running or it is hung, please take a look" - exit 1 + exit 3 fi done set -e @@ -41,7 +41,7 @@ if [ ! -f /etc/apt/apt.conf.d/20auto-upgrades ]; then if [ ! -f /etc/apt/apt.conf.d/50unattended-upgrades ]; then echo "Automatic security updates not enabled." echo "Perhaps the unattended-upgrades package is not installed." - exit 1 + exit 3 fi fi echo "Automatic security updates enabled."