diff options
Diffstat (limited to 'src/tests/dejagnu/krb-standalone/gssapi.exp')
-rw-r--r-- | src/tests/dejagnu/krb-standalone/gssapi.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/dejagnu/krb-standalone/gssapi.exp b/src/tests/dejagnu/krb-standalone/gssapi.exp index 5c229ff..8f932cb 100644 --- a/src/tests/dejagnu/krb-standalone/gssapi.exp +++ b/src/tests/dejagnu/krb-standalone/gssapi.exp @@ -36,7 +36,7 @@ proc our_kinit { name pass ccache } { global spawn_id # Use kinit to get a ticket. - spawn $KINIT -c $ccache $name@$REALMNAME + spawn $KINIT -5 -c $ccache $name@$REALMNAME expect { "Password for $name@$REALMNAME:" { verbose "kinit started" @@ -56,6 +56,7 @@ proc our_kinit { name pass ccache } { expect { "\r" { } } + expect eof if ![check_exit_status kinit] { return 0 } |