From 23e8056b3745de931b2a4a8c83dc72fb69a6bd7c Mon Sep 17 00:00:00 2001 From: Vojtech Horky Date: Tue, 9 Oct 2018 08:25:30 +0200 Subject: [PATCH] Tester: fix sending uppercase letters to QEMU --- htest/vm/qemu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htest/vm/qemu.py b/htest/vm/qemu.py index 3b34572..062c362 100755 --- a/htest/vm/qemu.py +++ b/htest/vm/qemu.py @@ -281,6 +281,8 @@ class QemuVMController(VMController): '_': 'shift-minus', } for letter in what: + if letter.isupper(): + letter = 'shift-' + letter.lower() if letter in translations: letter = translations[letter] self._send_command('sendkey ' + letter) -- 2.11.4.GIT