Skip to content

Commit

Permalink
fix: patterns in expect script and adjust timeout/exit conditions
Browse files Browse the repository at this point in the history
The issue identified was that the string "1" is recognized as a
pattern. The latest version of CentOS Stream 9 includes this
"pattern" in its boot sequence.

Signed-off-by: Nestor Acuna Blanco <[email protected]>
  • Loading branch information
nestoracunablanco committed Nov 18, 2024
1 parent 75de525 commit f751b15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automation/connect_to_rhel_console.exp
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ expect {
"*login*" {exit 0}
"*Welcome*" {exit 0}
"*A start job*" {exit 0}
exit 1
timeout {exit 1}
eof {exit 1}
}

0 comments on commit f751b15

Please sign in to comment.