1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/password/correct.expect

9 lines
190 B
Plaintext
Raw Normal View History

#!/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