[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1] automation: disable terminal echo in xilinx test scripts


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: <victorm.lira@xxxxxxx>
  • Date: Tue, 17 Jun 2025 09:44:49 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=X0QV8ndC6NFKGSOtPHxZFmAQtmqwxkUGIhEfBRv68F4=; b=JVsPWKBpE5WZ3X7t6Smn3Yagp+AIQWpqTcClsZPHjfYOb/8SbrxgFSGX/tQWdGqoSFzSLReCCxxbXHws558IJWASUBBVFNkf3bvgvNQ+ctcclqvJIUL7v5xWCX0KgrcB+wshWK1uyVopafwa8RfN1BhplEz2ZC3qVy3NP9Gs/QNBVMquX1+lywZLwaEYyvJw/bSnb4LVU1anl+obR6aYBSgs7PU/TIcVmnGE0fTwYnREIq4D66bcOaJRMld1B7NTLW6Oklu9X6Cph/zMqDrJTbaYysX970s1V3PTpL9TKI/RI6j4E0pp6uitpF3jdAcu1Xu+c984I7Zx1GAdTe25Ww==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=scrrEFDC7mhkoUDHz5fjKTr/QcYHlktVMlwtolK/6ZQmDO9P+vNjKnAevwxokdPkPAMjwdxJWy2pZ+/+jdK8NrLxf2+41nVKllKInXNfUXuzVKtTl3lHV8VrMVLssweHZbinFHeN4gzNpiJe/8uqk+5toCtYr9BLd9j2slw4Dg9KLHZTdq/9AE4G7XXQY9+ekeGthHtSNOHeZoLQLqB0/nw6zlfzbCwAnL9iSB8egqzDcDsf44Kec9tojr7XKFKd4VAuPSr847A+bJFEZMVv5+gTDFggdzYj0Dux1lx21WkafLU0p8D+jVm0Q6RYk+hSPDQlGScxhfb67JrWFhfk2w==
  • Cc: Victor Lira <victorm.lira@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Tue, 17 Jun 2025 16:45:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Victor Lira <victorm.lira@xxxxxxx>

The default terminal settings in Linux will enable echo which interferes with
these tests. Set the value in the script to avoid failure caused by a settings
reset.

Signed-off-by: Victor Lira <victorm.lira@xxxxxxx>
---
Cc: Michal Orzel <michal.orzel@xxxxxxx>
Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 automation/scripts/xilinx-smoke-dom0-x86_64.sh    | 2 +-
 automation/scripts/xilinx-smoke-dom0less-arm64.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/automation/scripts/xilinx-smoke-dom0-x86_64.sh 
b/automation/scripts/xilinx-smoke-dom0-x86_64.sh
index 71cdb295b2..6970a8658d 100755
--- a/automation/scripts/xilinx-smoke-dom0-x86_64.sh
+++ b/automation/scripts/xilinx-smoke-dom0-x86_64.sh
@@ -165,7 +165,7 @@ sleep 5
 sh /scratch/gitlab-runner/${TEST_BOARD}.sh 1
 sleep 5
 set +e
-stty -F ${SERIAL_DEV} 57600
+stty -F ${SERIAL_DEV} 57600 -echo

 # Capture test result and power off board before exiting.
 export PASSED="${PASS_MSG}"
diff --git a/automation/scripts/xilinx-smoke-dom0less-arm64.sh 
b/automation/scripts/xilinx-smoke-dom0less-arm64.sh
index 293232eebf..1d7162f1b3 100755
--- a/automation/scripts/xilinx-smoke-dom0less-arm64.sh
+++ b/automation/scripts/xilinx-smoke-dom0less-arm64.sh
@@ -128,7 +128,7 @@ cd $START
 # connect to serial
 SERIAL_DEV="/dev/serial/zynq"
 set +e
-stty -F ${SERIAL_DEV} 115200
+stty -F ${SERIAL_DEV} 115200 -echo

 # Capture test result and power off board before exiting.
 export PASSED="${passed}"
--
2.34.1



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.