1 import ./make-test-python.nix {
8 serverName = "Gerbera";
13 path = "/var/lib/gerbera/pictures";
18 path = "/var/lib/gerbera/audio";
24 systemd.tmpfiles.rules = [
25 "d /var/lib/gerbera/pictures 0770 mediatomb mediatomb"
26 "d /var/lib/gerbera/audio 0770 mediatomb mediatomb"
36 server.wait_for_unit("mediatomb")
37 server.wait_until_succeeds("nc -z 192.168.1.2 49152")
38 server.succeed("curl -v --fail http://server:49152/")
40 client.wait_for_unit("multi-user.target")
41 page = client.succeed("curl -v --fail http://server:49152/")
42 assert "Gerbera" in page and "MediaTomb" not in page