From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Uladzimir Bely <ubely@ilbers.de>, Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v2 13/15] testsuite: Fix terminal broken after run test executed
Date: Tue, 24 Jan 2023 22:45:56 +0200 [thread overview]
Message-ID: <20230124204558.31025-14-amikan@ilbers.de> (raw)
In-Reply-To: <20230124204558.31025-1-amikan@ilbers.de>
From: Uladzimir Bely <ubely@ilbers.de>
If some of run tests executed from interactive terminal by hand,
user input goes broken after VM powered off. Commands user enters
become invisible and terminal can be fixed only by executing
either 'reset' or 'stty echo' commands.
Fix this by specifying 'stdin' value for qemu subprocess.
Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
testsuite/cibuilder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/cibuilder.py b/testsuite/cibuilder.py
index f373829..ec6ba39 100755
--- a/testsuite/cibuilder.py
+++ b/testsuite/cibuilder.py
@@ -262,7 +262,7 @@ class CIBuilder(Test):
timeout = time.time() + int(time_to_wait)
- p1 = subprocess.Popen(cmdline, stdout=subprocess.PIPE,
+ p1 = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stdin=subprocess.PIPE,
stderr=subprocess.PIPE, universal_newlines=True)
try:
poller = select.poll()
--
2.34.1
next prev parent reply other threads:[~2023-01-24 20:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-24 20:45 [PATCH v2 00/15] Add developers test Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 01/15] CI: Enable downloads dir sharing Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 02/15] CI: Add IMAGE_INSTALL override Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 03/15] CI: Add developers test Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 04/15] CI: Remove duplicated targets Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 05/15] CI: move to avocado to 99.0 Anton Mikanovich
2023-01-25 7:10 ` Henning Schild
2023-01-25 7:42 ` Anton Mikanovich
2023-01-25 11:39 ` Henning Schild
2023-01-24 20:45 ` [PATCH v2 06/15] CI: fix shell coding style Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 07/15] CI: install qemu-system when qemu testing is requested Anton Mikanovich
2023-01-25 8:18 ` Henning Schild
2023-01-24 20:45 ` [PATCH v2 08/15] testsuite: remove tests from "fast" set Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 09/15] CI: Get rid of setting cross from outside Anton Mikanovich
2023-01-25 8:22 ` Henning Schild
2023-01-24 20:45 ` [PATCH v2 10/15] CI: Make cross compile to be default Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 11/15] CI: Get rid of setting repro from outside Anton Mikanovich
2023-01-24 20:45 ` [PATCH v2 12/15] CI: Allow example module checking disabling Anton Mikanovich
2023-01-25 8:29 ` Henning Schild
2023-01-24 20:45 ` Anton Mikanovich [this message]
2023-01-24 20:45 ` [PATCH v2 14/15] CI: Update testsuite documentation Anton Mikanovich
2023-01-25 8:31 ` Henning Schild
2023-01-24 20:45 ` [PATCH v2 15/15] CI: Add single target test case Anton Mikanovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230124204558.31025-14-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=ubely@ilbers.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox