]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
automation: restore CR filtering
authorStefano Stabellini <stefano.stabellini@amd.com>
Wed, 21 Aug 2024 20:29:58 +0000 (13:29 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Thu, 22 Aug 2024 20:07:39 +0000 (13:07 -0700)
After commit c36efb7fcea6 ("automation: use expect to run QEMU") we lost
the \r filtering introduced by b576497e3b7d ("automation: remove CR
characters from serial output"). This patch reintroduced it.

Fixes: c36efb7fcea6 ("automation: use expect to run QEMU")
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
automation/scripts/qemu-alpine-x86_64.sh
automation/scripts/qemu-smoke-dom0-arm32.sh
automation/scripts/qemu-smoke-dom0-arm64.sh
automation/scripts/qemu-smoke-dom0less-arm32.sh
automation/scripts/qemu-smoke-dom0less-arm64.sh
automation/scripts/qemu-smoke-ppc64le.sh
automation/scripts/qemu-smoke-riscv64.sh
automation/scripts/qemu-smoke-x86-64.sh
automation/scripts/qemu-xtf-dom0less-arm64.sh

index 5359e0820bd394b290b194dae7b0e43a93f07bed..42a89e86b02190df4c65bc4681f54767cbd5a0cb 100755 (executable)
@@ -89,4 +89,4 @@ export QEMU_LOG="smoke.serial"
 export LOG_MSG="Domain-0"
 export PASSED="BusyBox"
 
-./automation/scripts/qemu-key.exp
+./automation/scripts/qemu-key.exp | sed 's/\r\+$//'
index bbdcb39f1a59b2a0403790c3a4d3491a68eb9a0f..fd64b19358aece296aa46864f4db7817ca201f7e 100755 (executable)
@@ -96,4 +96,4 @@ export QEMU_LOG="${serial_log}"
 export LOG_MSG="Domain-0"
 export PASSED="/ #"
 
-../automation/scripts/qemu-key.exp
+../automation/scripts/qemu-key.exp | sed 's/\r\+$//'
index 0094bfc8e12559a9c2faf71047289096fb740494..e0cea742b0a0c842438f8367b1516c1a70151a8c 100755 (executable)
@@ -109,4 +109,4 @@ export QEMU_LOG="smoke.serial"
 export LOG_MSG="Domain-0"
 export PASSED="BusyBox"
 
-./automation/scripts/qemu-key.exp
+./automation/scripts/qemu-key.exp | sed 's/\r\+$//'
index 68ffbabdb87cc8cfa9afbdb2a4398a392db01f44..e824cb7c2a3dbbf5ad28b3bb9c5b707a22b6f299 100755 (executable)
@@ -149,4 +149,4 @@ export QEMU_LOG="${serial_log}"
 export LOG_MSG="${dom0_prompt}"
 export PASSED="${passed}"
 
-../automation/scripts/qemu-key.exp
+../automation/scripts/qemu-key.exp | sed 's/\r\+$//'
index eb25c4af4b1ddeb4bb8e04456309ac29a769d776..f42ba5d196bce1167a28dba836a6229fc884b6be 100755 (executable)
@@ -220,4 +220,4 @@ export QEMU_LOG="smoke.serial"
 export LOG_MSG="Welcome to Alpine Linux"
 export PASSED="${passed}"
 
-./automation/scripts/qemu-key.exp
+./automation/scripts/qemu-key.exp | sed 's/\r\+$//'
index ccb4a576f4be3d04d339e14a3d2daeec84254074..594f92c19cc2b8eea6713850a5f54e7f48814dd4 100755 (executable)
@@ -25,4 +25,4 @@ export QEMU_CMD="qemu-system-ppc64 \
 export QEMU_LOG="${serial_log}"
 export PASSED="Hello, ppc64le!"
 
-./automation/scripts/qemu-key.exp
+./automation/scripts/qemu-key.exp | sed 's/\r\+$//'
index 0355c075b72c855ff293ad4712e26e05797a1069..c2595f657ff3694221f12d96b312b19ee99816e1 100755 (executable)
@@ -16,4 +16,4 @@ export QEMU_CMD="qemu-system-riscv64 \
 export QEMU_LOG="smoke.serial"
 export PASSED="All set up"
 
-./automation/scripts/qemu-key.exp
+./automation/scripts/qemu-key.exp | sed 's/\r\+$//'
index 37ac10e0682d818a1df786af7608167fc19e3126..3440b1761db4d1e112d6108cdfb32460dbef1f9d 100755 (executable)
@@ -24,4 +24,4 @@ export QEMU_CMD="qemu-system-x86_64 -nographic -kernel binaries/xen \
 export QEMU_LOG="smoke.serial"
 export PASSED="Test result: SUCCESS"
 
-./automation/scripts/qemu-key.exp
+./automation/scripts/qemu-key.exp | sed 's/\r\+$//'
index 0666f6363e4f7f5b48401e63ded6f0dd41293593..4042fe50602b54199711cb16640281e423eba867 100755 (executable)
@@ -65,4 +65,4 @@ export UBOOT_CMD="virtio scan; dhcp; tftpb 0x40000000 boot.scr; source 0x4000000
 export QEMU_LOG="smoke.serial"
 export PASSED="${passed}"
 
-./automation/scripts/qemu-key.exp
+./automation/scripts/qemu-key.exp | sed 's/\r\+$//'