Skip to contentSkip to conversation

automation: disable terminal echo in xilinx test scripts

PATCH In review [email protected] 2 participants 2 messages Jun 17, 2025 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 automation: disable terminal echo in xilinx test scripts

From: Victor Lira <[email protected]>

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.

---
Cc: Michal Orzel <[email protected]>
Cc: Stefano Stabellini <[email protected]>

---
 automation/scripts/xilinx-smoke-dom0-x86_64.sh    | 2 +-
 automation/scripts/xilinx-smoke-dom0less-arm64.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
automation/scripts/xilinx-smoke-dom0-x86_64.sh +1 -1
index 71cdb295b2..6970a8658d 100755
@@ -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}"
automation/scripts/xilinx-smoke-dom0less-arm64.sh +1 -1
index 293232eebf..1d7162f1b3 100755
@@ -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

Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Tue, 17 Jun 2025, [email protected] wrote:

From: Victor Lira <[email protected]>

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.

Quoted 37 lines

---
Cc: Michal Orzel <[email protected]>
Cc: Stefano Stabellini <[email protected]>

---
 automation/scripts/xilinx-smoke-dom0-x86_64.sh    | 2 +-
 automation/scripts/xilinx-smoke-dom0less-arm64.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
automation/scripts/xilinx-smoke-dom0-x86_64.sh +1 -1
index 71cdb295b2..6970a8658d 100755
@@ -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}"
automation/scripts/xilinx-smoke-dom0less-arm64.sh +1 -2
index 293232eebf..1d7162f1b3 100755
@@ -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