tests: Fix prompt matching
This commit is contained in:
parent
31b4efb1c5
commit
d86c934d0e
@ -51,7 +51,7 @@ set password $params(password)
|
||||
eval spawn cryptsetup $::argv
|
||||
if {"luksFormat" in $::argv} {
|
||||
verify_password $password
|
||||
expect -exact "Are you sure? (Type uppercase yes): "
|
||||
expect -re "^Are you sure.*:"
|
||||
send -- "YES\r"
|
||||
expect -re "Enter( LUKS)? passphrase.*"
|
||||
send -- "$password\r"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user