Verify haveged service is active in autopkgtests, skipped in containers.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e15cffc655
commit
ebae0a651d
2 changed files with 7 additions and 0 deletions
5
debian/tests/check-service
vendored
5
debian/tests/check-service
vendored
|
@ -1,5 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
if systemd-detect-virt -qc; then
|
||||
echo "haveged service will fail in (unprivileged) container, skipping test"
|
||||
exit 77
|
||||
fi
|
||||
|
||||
if ! systemctl is-active haveged; then
|
||||
echo "haveged service is not active"
|
||||
systemctl status haveged
|
||||
|
|
2
debian/tests/control
vendored
2
debian/tests/control
vendored
|
@ -1,5 +1,7 @@
|
|||
Tests:
|
||||
check-service,
|
||||
Restrictions:
|
||||
skippable,
|
||||
|
||||
Tests:
|
||||
run-tests,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue