summaryrefslogtreecommitdiffstats
path: root/src/tests/gssapi/common.c
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-10-09 12:56:13 -0400
committerGreg Hudson <ghudson@mit.edu>2013-10-09 13:38:20 -0400
commit69c190ed9189273a79fdb8e8d95ce970d21118b3 (patch)
treee5e7537593ac28cc962ea78459b253dd9f788952 /src/tests/gssapi/common.c
parentb44879db690581270a765904ed0a32d9663e345b (diff)
downloadkrb5-69c190ed9189273a79fdb8e8d95ce970d21118b3.tar.gz
krb5-69c190ed9189273a79fdb8e8d95ce970d21118b3.tar.xz
krb5-69c190ed9189273a79fdb8e8d95ce970d21118b3.zip
Perform complete referrals in t_referral.py
t_referral.py was written to exercise KDC host referral logic, and did not actually create the target realm, instead just looking at the error message from gcred to determine whether the KDC returned a referral or not. It's only a small amount of additional work to actually set up the target realm and check that the client code successfully retrieves the referral, so do that instead. Since the referral and non-referral outcomes aren't all that similar any more, split test() into testref() and testfail(). Get rid of the message argument, since it wouldn't be output in most cases where we get an unexpected result.
Diffstat (limited to 'src/tests/gssapi/common.c')
0 files changed, 0 insertions, 0 deletions