From 4763adc5b75a7d3d24401d343a7f7e43e5095ba8 Mon Sep 17 00:00:00 2001 From: Jerome Forissier <jerome.forissier@linaro.org> Date: Wed, 14 Mar 2018 12:06:21 +0000 Subject: [PATCH] qemu-check.exp: fix expected prompts Since commit eed314d11475 ("qemu: build using buildroot"), the login and the shell prompts of the root FS have changed. Adjust our "make check" accordingly. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> --- qemu-check.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qemu-check.exp b/qemu-check.exp index c598e30..0a2e14f 100644 --- a/qemu-check.exp +++ b/qemu-check.exp @@ -52,14 +52,14 @@ expect { info "!!! Timeout\n" exit 1 } - "Please press Enter to activate this console. " + "ogin:" } -send -- "\r" -expect "root@Vexpress:/ " +send -- "root\r\r" +expect "# " info " done, guest is booted.\n" # Toolchain libraries might be here or there send -- "export LD_LIBRARY_PATH=/lib:/lib/arm-linux-gnueabihf\r" -expect "root@Vexpress:/ " +expect "# " info "Running: $cmd...\n" send -- "$cmd\r" set casenum "none" -- GitLab