/bin/sh. If we just look for a shell prompt, we can get out of sync
if the login shell decides to clear the line and redisplay the prompt.
(I see bash redisplaying the prompt in 30-50% of test runs; I don't
know what it's thinking.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21288
dc483132-0cff-0310-8789-
dd5450dbe970
# prompt.
set testname "shell"
send "$BINSH\r"
+ expect "$BINSH"
expect -re "$SHELL_PROMPT"
set testname "date"
# prompt.
set testname "shell"
send "$BINSH\r"
+ expect "$BINSH"
expect -re "$SHELL_PROMPT"
# Make sure the encryption is not destroying the text.