3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests/jellyfin.nix

17 lines
364 B
Nix
Raw Normal View History

2019-04-28 10:02:32 +01:00
import ./make-test.nix ({ lib, ...}:
{
name = "jellyfin";
meta.maintainers = with lib.maintainers; [ minijackson ];
machine =
{ ... }:
{ services.jellyfin.enable = true; };
testScript = ''
$machine->waitForUnit('jellyfin.service');
$machine->waitForOpenPort('8096');
$machine->succeed("curl --fail http://localhost:8096/");
'';
})