summaryrefslogtreecommitdiffstats
path: root/xtests/tst-pam_substack2.pamd
diff options
context:
space:
mode:
Diffstat (limited to 'xtests/tst-pam_substack2.pamd')
-rw-r--r--xtests/tst-pam_substack2.pamd6
1 files changed, 6 insertions, 0 deletions
diff --git a/xtests/tst-pam_substack2.pamd b/xtests/tst-pam_substack2.pamd
new file mode 100644
index 0000000..618e298
--- /dev/null
+++ b/xtests/tst-pam_substack2.pamd
@@ -0,0 +1,6 @@
+#%PAM-1.0
+# Even if the substack fails with requisite
+# the whole stack should succeed.
+auth substack tst-pam_substack2a
+auth [success=reset] pam_permit.so
+auth required pam_debug.so auth=success