diff options
Diffstat (limited to 'nixos/tests/sabnzbd.nix')
-rw-r--r-- | nixos/tests/sabnzbd.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/sabnzbd.nix b/nixos/tests/sabnzbd.nix index 075bd0b1fe093..64cb655b43157 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") ''; }) |