mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
nixos/tests/sabnzbd: add check for sabctools mismatch
This commit is contained in:
parent
0b1d5a58e7
commit
cb719dfa72
@ -18,5 +18,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
|||||||
machine.wait_until_succeeds(
|
machine.wait_until_succeeds(
|
||||||
"curl --fail -L http://localhost:8080/"
|
"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")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user