diff --git a/debian/tests/test-nut.py b/debian/tests/test-nut.py index ffbec80..f23b488 100644 --- a/debian/tests/test-nut.py +++ b/debian/tests/test-nut.py @@ -69,6 +69,12 @@ import unittest, subprocess, sys, os, time import tempfile import testlib +# The behaviour of the upstream systemd services has changed breaking the +# existing tests. This is a quick fix for the tests so they use the sysv +# initscript instead of the systemd services. +# The tests should probably be adjusted in the future. +os.environ['SYSTEMCTL_SKIP_REDIRECT'] = '1' + use_private = True try: from private.qrt.nut import PrivateNutTest