summaryrefslogtreecommitdiff
path: root/src/tests/t_hooks.py
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-07-07 17:03:42 +0000
committerCy Schubert <cy@FreeBSD.org>2017-07-07 17:03:42 +0000
commit33a9b234e7087f573ef08cd7318c6497ba08b439 (patch)
treed0ea40ad3bf5463a3c55795977c71bcb7d781b4b /src/tests/t_hooks.py
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')