From cb719dfa72f36546313e80355cbf0516091abef1 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Wed, 11 Oct 2023 08:44:40 -0400 Subject: nixos/tests/sabnzbd: add check for sabctools mismatch --- nixos/tests/sabnzbd.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos') diff --git a/nixos/tests/sabnzbd.nix b/nixos/tests/sabnzbd.nix index 075bd0b1fe09..64cb655b4315 100644 --- a/nixos/tests/sabnzbd.nix +++ b/nixos/tests/sabnzbd.nix @@ -18,5 +18,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { machine.wait_until_succeeds( "curl --fail -L http://localhost:8080/" ) + _, out = machine.execute("grep SABCTools /var/lib/sabnzbd/logs/sabnzbd.log") + machine.log(out) + machine.fail("grep 'SABCTools disabled: no correct version found!' /var/lib/sabnzbd/logs/sabnzbd.log") ''; }) -- cgit 1.4.1