summaryrefslogtreecommitdiff
path: root/src/tests/t_hooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/t_hooks.py')
-rwxr-xr-xsrc/tests/t_hooks.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tests/t_hooks.py b/src/tests/t_hooks.py
new file mode 100755
index 000000000000..58dff3ae7952
--- /dev/null
+++ b/src/tests/t_hooks.py
@@ -0,0 +1,9 @@
+#!/usr/bin/python
+from k5test import *
+
+# Test that KDC send and recv hooks work correctly.
+realm = K5Realm(create_host=False, get_creds=False)
+realm.run(['./hooks', realm.user_princ, password('user')])
+realm.stop()
+
+success('send and recv hook tests')