Files
xen/automation/scripts/qemu-smoke-riscv64.sh
T
Stefano Stabellini aa80a04df4 automation: restore CR filtering
After commit c36efb7fce ("automation: use expect to run QEMU") we lost
the \r filtering introduced by b576497e3b ("automation: remove CR
characters from serial output"). This patch reintroduced it.

Fixes: c36efb7fce ("automation: use expect to run QEMU")
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
2024-08-22 13:07:39 -07:00

20 lines
297 B
Bash
Executable File

#!/bin/bash
set -ex
# Run the test
rm -f smoke.serial
set +e
export QEMU_CMD="qemu-system-riscv64 \
-M virt \
-smp 1 \
-nographic \
-m 2g \
-kernel binaries/xen"
export QEMU_LOG="smoke.serial"
export PASSED="All set up"
./automation/scripts/qemu-key.exp | sed 's/\r\+$//'