nixos/tests/keymap: use tty2 for the VT test

tty1 is occupied by X and isn't always released in time,
so just use a clean one to avoid the race
This commit is contained in:
K900 2024-10-19 09:22:55 +03:00
parent 77eb05d7b3
commit 7907bb800e

View File

@ -78,7 +78,7 @@ let
# when the X test runs first. # when the X test runs first.
keymap_environments = { keymap_environments = {
"Xorg Keymap": "env DISPLAY=:0 xterm -title testterm -class testterm -fullscreen -e", "Xorg Keymap": "env DISPLAY=:0 xterm -title testterm -class testterm -fullscreen -e",
"VT Keymap": "openvt -sw --", "VT Keymap": "openvt -c 2 -sw --",
} }
machine.wait_for_x() machine.wait_for_x()