From 46fa42001831ce7868bbe335129c690fec5546a8 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 24 Aug 2006 08:49:19 +0000 Subject: Relevant BUGIDs: Purpose of commit: new feature Commit summary: --------------- Add test for [...] control sequences. 2006-08-24 Thorsten Kukuk * xtests/tst-pam_dispatch4.c: New test. * xtests/tst-pam_dispatch4.pamd: PAM config for new test. --- xtests/tst-pam_dispatch4.pamd | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 xtests/tst-pam_dispatch4.pamd (limited to 'xtests/tst-pam_dispatch4.pamd') diff --git a/xtests/tst-pam_dispatch4.pamd b/xtests/tst-pam_dispatch4.pamd new file mode 100644 index 00000000..7c08372b --- /dev/null +++ b/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 -- cgit v1.2.3