mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
CI: fix waiting for final test message (again)
The previous attempt has correct diagnosis, but added -notransfer flag
in a wrong place - it should be used in the first (outer) match out of
two, not the second (inner) one.
Fixes: 1e12cbd6af ("CI: fix waiting for final test message")
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
7610180ff9
commit
79de6507c5
1 file changed
+4
-4
@@ -60,12 +60,12 @@ if {[info exists env(WAKEUP_CMD)]} {
|
||||
|
||||
if {[info exists env(LOG_MSG)]} {
|
||||
expect {
|
||||
-re "$env(PASSED)" {
|
||||
expect -notransfer -re "$env(LOG_MSG)"
|
||||
-notransfer -re "$env(PASSED)" {
|
||||
expect -re "$env(LOG_MSG)"
|
||||
exit 0
|
||||
}
|
||||
-re "$env(LOG_MSG)" {
|
||||
expect -notransfer -re "$env(PASSED)"
|
||||
-notransfer -re "$env(LOG_MSG)" {
|
||||
expect -re "$env(PASSED)"
|
||||
exit 0
|
||||
}
|
||||
}
|
||||
|
||||