v/examples/password/correct.expect
2022-08-23 18:17:38 +03:00

9 lines
190 B
Plaintext
Executable File

#!/usr/bin/expect
spawn ./password
expect "Enter your password : "
send "Sample\r"
expect "Confirm password : "
send "Sample\r"
expect "Password confirmed! You entered: Sample ."
expect eof