summaryrefslogtreecommitdiff
path: root/xtests/tst-pam_substack1.pamd
diff options
context:
space:
mode:
Diffstat (limited to 'xtests/tst-pam_substack1.pamd')
-rw-r--r--xtests/tst-pam_substack1.pamd5
1 files changed, 5 insertions, 0 deletions
diff --git a/xtests/tst-pam_substack1.pamd b/xtests/tst-pam_substack1.pamd
new file mode 100644
index 0000000..6eab233
--- /dev/null
+++ b/xtests/tst-pam_substack1.pamd
@@ -0,0 +1,5 @@
+#%PAM-1.0
+# Even if the substack succeeds with sufficient
+# the whole stack should fail.
+auth substack tst-pam_substack1a
+auth required pam_debug.so auth=auth_err