summaryrefslogtreecommitdiff
path: root/Linux-PAM/xtests/tst-pam_dispatch4.pamd
diff options
context:
space:
mode:
Diffstat (limited to 'Linux-PAM/xtests/tst-pam_dispatch4.pamd')
-rw-r--r--Linux-PAM/xtests/tst-pam_dispatch4.pamd8
1 files changed, 8 insertions, 0 deletions
diff --git a/Linux-PAM/xtests/tst-pam_dispatch4.pamd b/Linux-PAM/xtests/tst-pam_dispatch4.pamd
new file mode 100644
index 00000000..7c08372b
--- /dev/null
+++ b/Linux-PAM/xtests/tst-pam_dispatch4.pamd
@@ -0,0 +1,8 @@
+#%PAM-1.0
+# We jump to pam_permit.so, should pass
+auth [success=1 default=ignore] pam_debug.so auth=success
+auth required pam_deny.so
+auth required pam_permit.so
+# We jump to a non-existing slot, fail, but don't seg.fault
+account [success=1 default=ignore] pam_debug.so account=success
+account required pam_deny.so