#!/bin/sh

set -e

. debian/tests/functions

# Can't remember why I introduced this /sge
#journalctl -b -g sysv

patch_service_for_test_and_restart

query_systemd_for_service_status
query_journal_and_check_the_logs
run_rngtest_and_check_the_result
stop_service_and_check_the_logs

# done
echo Looks good.
