1 import ../make-test-python.nix {
4 nodes.machine = { pkgs, ... }: {
5 imports = [ ../../modules/profiles/minimal.nix ];
6 environment.systemPackages = [ pkgs.lorri ];
12 "cp '${./fake-shell.nix}' shell.nix"
15 "cp '${./builder.sh}' builder.sh"
18 # Start the daemon and wait until it is ready
19 machine.execute("lorri daemon > lorri.stdout 2> lorri.stderr &")
20 machine.wait_until_succeeds("grep --fixed-strings 'ready' lorri.stderr")
23 machine.succeed("lorri internal ping --shell-file shell.nix")
25 # Wait for the daemon to finish the build
26 machine.wait_until_succeeds("grep --fixed-strings 'Completed' lorri.stderr")