From 2f73ef4bd7222d120e593dccb13b5e79b642af56 Mon Sep 17 00:00:00 2001 From: Victor Lira Date: Tue, 17 Jun 2025 09:44:49 -0700 Subject: [PATCH] automation: disable terminal echo in xilinx test scripts 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 Acked-by: Stefano Stabellini --- 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}"