From 7907bb800e5f7e1b85e8249a423b09298cbe99f0 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 19 Oct 2024 09:22:55 +0300 Subject: [PATCH] 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 --- nixos/tests/keymap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/keymap.nix b/nixos/tests/keymap.nix index 2a3ff87402c7..3542dea58f7f 100644 --- a/nixos/tests/keymap.nix +++ b/nixos/tests/keymap.nix @@ -78,7 +78,7 @@ let # when the X test runs first. keymap_environments = { "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()