1 import ./make-test-python.nix ({ pkgs, ...} : {
3 meta = with pkgs.lib.maintainers; {
4 maintainers = [ nequissimus ];
7 nodes.machine = { pkgs, ... }:
9 imports = [ ./common/x11.nix ];
10 services.xserver.desktopManager.xterm.enable = false;
16 machine.succeed("DISPLAY=:0 xterm -title testterm -class testterm -fullscreen >&2 &")
18 machine.send_chars("echo $XTERM_VERSION >> /tmp/xterm_version\n")
19 machine.wait_for_file("/tmp/xterm_version")
20 assert "${pkgs.xterm.version}" in machine.succeed("cat /tmp/xterm_version")
21 machine.screenshot("window")