diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pamcmds.expect | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_pamcmds.expect b/tests/test_pamcmds.expect index 586a889..f897e16 100644 --- a/tests/test_pamcmds.expect +++ b/tests/test_pamcmds.expect @@ -111,9 +111,8 @@ proc test_login_authfail {uid passwd} { # function to do login, expecting FAIL result proc test_login_unknown {uid passwd} { send "su - $uid -s /bin/sh\r" - expect "Password:" - send "$passwd\r" expect { + "Password:" { send "$passwd\r"; exp_continue } "Unknown id" {} "\$ " abort default abort |