Gitly
Log in
Register
v
/
examples
/
password
Raw file
|
8 loc (8 sloc)
|
179 bytes
|
Latest commit hash 3b42f18de
1
#!/usr/bin/expect
2
spawn ./password
3
expect "Enter your password : "
4
send "Sample123\r"
5
expect "Confirm password : "
6
send "Sample234\r"
7
expect "Passwords do not match ."
8
expect eof