diff options
| author | Greg Hudson <ghudson@mit.edu> | 2008-12-05 18:30:18 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2008-12-05 18:30:18 +0000 |
| commit | c597cfdc560e1ab84c8b7d55543cce7de7fe9973 (patch) | |
| tree | ea7d4c24bbe349843746b51f0313db9faf09e8ca /src | |
| parent | 19820508f9b1888867f6d6b261ed9dc569711e9f (diff) | |
| download | krb5-c597cfdc560e1ab84c8b7d55543cce7de7fe9973.tar.gz krb5-c597cfdc560e1ab84c8b7d55543cce7de7fe9973.tar.xz krb5-c597cfdc560e1ab84c8b7d55543cce7de7fe9973.zip | |
In the rlogin tests, expect to see /bin/sh echoed back after sending
/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
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/dejagnu/krb-root/rlogin.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/dejagnu/krb-root/rlogin.exp b/src/tests/dejagnu/krb-root/rlogin.exp index bc4056467..a0e8e4ff5 100644 --- a/src/tests/dejagnu/krb-root/rlogin.exp +++ b/src/tests/dejagnu/krb-root/rlogin.exp @@ -174,6 +174,7 @@ proc rlogin_test { } { # prompt. set testname "shell" send "$BINSH\r" + expect "$BINSH" expect -re "$SHELL_PROMPT" set testname "date" @@ -249,6 +250,7 @@ proc rlogin_test { } { # prompt. set testname "shell" send "$BINSH\r" + expect "$BINSH" expect -re "$SHELL_PROMPT" # Make sure the encryption is not destroying the text. |
