1 import ./make-test-python.nix ({ ... }:
6 nodes.machine = { ... }:
10 ./common/user-account.nix
13 test-support.displayManager.auto.user = "alice";
18 naturalScrolling = true;
20 middleEmulation = false;
21 horizontalScrolling = false;
27 def expect_xserver_option(option, value):
28 machine.succeed(f"""cat /var/log/X.0.log | grep -F 'Option "{option}" "{value}"'""")
32 machine.succeed("""cat /var/log/X.0.log | grep -F "Using input driver 'libinput'" """)
33 expect_xserver_option("NaturalScrolling", "on")
34 expect_xserver_option("LeftHanded", "on")
35 expect_xserver_option("MiddleEmulation", "off")
36 expect_xserver_option("HorizontalScrolling", "off")