lol

nixos/tests/rshim: init

nikstur 46dfed60 6852dc23

+26
+1
nixos/tests/all-tests.nix
··· 644 644 retroarch = handleTest ./retroarch.nix {}; 645 645 robustirc-bridge = handleTest ./robustirc-bridge.nix {}; 646 646 roundcube = handleTest ./roundcube.nix {}; 647 + rshim = handleTest ./rshim.nix {}; 647 648 rspamd = handleTest ./rspamd.nix {}; 648 649 rss2email = handleTest ./rss2email.nix {}; 649 650 rstudio-server = handleTest ./rstudio-server.nix {};
+25
nixos/tests/rshim.nix
··· 1 + { system ? builtins.currentSystem 2 + , config ? { } 3 + , pkgs ? import ../.. { inherit system config; } 4 + }: 5 + 6 + with import ../lib/testing-python.nix { inherit system pkgs; }; 7 + with pkgs.lib; 8 + 9 + { 10 + basic = makeTest { 11 + name = "rshim"; 12 + meta.maintainers = with maintainers; [ nikstur ]; 13 + 14 + nodes.machine = { config, pkgs, ... }: { 15 + services.rshim.enable = true; 16 + }; 17 + 18 + testScript = { nodes, ... }: '' 19 + machine.start() 20 + machine.wait_for_unit("multi-user.target") 21 + 22 + print(machine.succeed("systemctl status rshim.service")) 23 + ''; 24 + }; 25 + }