[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] automation: edit expect script to separate error message lines
commit 0dcc23db961cad01159ea12aa377924af0218e00 Author: Victor Lira <victorm.lira@xxxxxxx> AuthorDate: Tue Sep 2 11:52:35 2025 -0700 Commit: Stefano Stabellini <stefano.stabellini@xxxxxxx> CommitDate: Wed Sep 3 17:20:05 2025 -0700 automation: edit expect script to separate error message lines The errors can happen in the middle of a console line which causes the message to appear at the end of the current line. Prepend a newline to clearly separate the error line. Signed-off-by: Victor Lira <victorm.lira@xxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- automation/scripts/console.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/scripts/console.exp b/automation/scripts/console.exp index fc80513dfb..e27886bbef 100755 --- a/automation/scripts/console.exp +++ b/automation/scripts/console.exp @@ -35,8 +35,8 @@ expect_after { -re "(.*)\r" { exp_continue -continue_timer } - timeout {send_error "ERROR-Timeout!\n"; exit 1} - eof {send_error "ERROR-EOF!\n"; exit 1} + timeout {send_error "\nERROR-Timeout!\n"; exit 1} + eof {send_error "\nERROR-EOF!\n"; exit 1} } if {[info exists env(UBOOT_CMD)]} { -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |