xref: /freebsd/crypto/krb5/src/tests/t_hooks.py (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubertfrom k5test import *
2*7f2fe78bSCy Schubert
3*7f2fe78bSCy Schubert# Test that KDC send and recv hooks work correctly.
4*7f2fe78bSCy Schubertrealm = K5Realm(create_host=False, get_creds=False)
5*7f2fe78bSCy Schubertrealm.run(['./hooks', realm.user_princ, password('user')])
6*7f2fe78bSCy Schubertrealm.stop()
7*7f2fe78bSCy Schubert
8*7f2fe78bSCy Schubertsuccess('send and recv hook tests')
9