Commit Graph

11 Commits

Author SHA1 Message Date
Laurent Bigonville
34c40ec9ae debian/tests/test-nut.py: Skip the flaky tests for now
That will hopefully allow us to ship nut for bookworm

Closes: #1023530
Thanks: Athos Ribeiro <athos.ribeiro@canonical.com>
Gbp-Dch: Full
2023-01-25 10:27:04 +01:00
Laurent Bigonville
a009ca10a3 debian/tests/test-nut.py: Increase sleep after starting drivers
The tests are flaky on some architectures, try to wait a bit longer that
the driver starts.

Closes: #1023530
Gbp-Dch: Full
2022-12-31 13:32:41 +01:00
Laurent Bigonville
7bd5eda599 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
2022-10-19 22:36:25 +02:00
Laurent Bigonville
dcb5203681 Port autopkgtests to python3, taken from Ubuntu, thanks to them and Dimitri John Ledkov (Closes: #937169) 2020-01-30 01:06:19 +01:00
Laurent Bigonville
034bb3e28f Run wrap-and-sort 2019-08-06 10:53:49 +02:00
Laurent Bigonville
e878bd34ba debian/tests/control: Add psmisc to the dependencies as it's not installed by default in debian 2019-08-04 20:57:17 +02:00
Laurent Bigonville
c4835ea1a1 debian/tests: Import changes from the ubuntu package, thanks to them. 2019-08-04 20:52:08 +02:00
Laurent Bigonville
b11ef489f7 Move pidfiles from /var/run/nut to /run/nut, there is nothing else to do since /var/run is a symlink to /run for some times now (policy 3.9.3) 2019-07-27 14:14:55 +02:00
Laurent Bigonville
68880dfdfd debian/tests/control: Drop python-unit and depend against python package instead (Closes: #908963) 2019-07-09 15:41:22 +02:00
Laurent Bigonville
106ff01fcf debian/tests/control: Add lsb-release and netcat to the dependencies (Closes: #733189) 2013-12-29 17:16:33 +01:00
Laurent Bigonville
f313323738 Added dep-8-tests to improve QA (from Ubuntu, closes: #708130) 2013-06-18 21:52:31 +02:00