debian/tests/test-nut.py: set SYSTEMCTL_SKIP_REDIRECT to 1
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. Gbp-Dch: Full Closes: #1019221
This commit is contained in:
parent
e10849a613
commit
7bd5eda599
6
debian/tests/test-nut.py
vendored
6
debian/tests/test-nut.py
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user