tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/tests/rshim: init
nikstur
2 years ago
46dfed60
6852dc23
+26
2 changed files
expand all
collapse all
unified
split
nixos
tests
all-tests.nix
rshim.nix
+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
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
1
+
{ system ? builtins.currentSystem
2
2
+
, config ? { }
3
3
+
, pkgs ? import ../.. { inherit system config; }
4
4
+
}:
5
5
+
6
6
+
with import ../lib/testing-python.nix { inherit system pkgs; };
7
7
+
with pkgs.lib;
8
8
+
9
9
+
{
10
10
+
basic = makeTest {
11
11
+
name = "rshim";
12
12
+
meta.maintainers = with maintainers; [ nikstur ];
13
13
+
14
14
+
nodes.machine = { config, pkgs, ... }: {
15
15
+
services.rshim.enable = true;
16
16
+
};
17
17
+
18
18
+
testScript = { nodes, ... }: ''
19
19
+
machine.start()
20
20
+
machine.wait_for_unit("multi-user.target")
21
21
+
22
22
+
print(machine.succeed("systemctl status rshim.service"))
23
23
+
'';
24
24
+
};
25
25
+
}