"make test" now uses "expect" to not prompt for passwords.

This commit is contained in:
Tom Limoncelli
2017-05-29 19:31:26 -04:00
parent 63ac594751
commit 4435e577ff
2 changed files with 15 additions and 2 deletions

14
tools/auto_system_test Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env expect
spawn tools/confidence_test.sh
set times 0;
while { $times < 300 } {
expect {
"my password is the lowercase letter a" { set pw "a\n" ; exp_continue }
"my password is the lowercase letter b" { set pw "b\n" ; exp_continue }
"Passphrase:" { send $pw ; exp_continue }
eof { break }
}
set times [ expr $times+1];
}