diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-08-24 08:49:19 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-08-24 08:49:19 +0000 |
commit | 46fa42001831ce7868bbe335129c690fec5546a8 (patch) | |
tree | 706f035a5c996fc547964b143c8f61772634953f /xtests/tst-pam_dispatch4.pamd | |
parent | c317d5f86baaffcd8adf45c20757fafe6c190694 (diff) | |
download | pam-46fa42001831ce7868bbe335129c690fec5546a8.tar.gz pam-46fa42001831ce7868bbe335129c690fec5546a8.tar.bz2 pam-46fa42001831ce7868bbe335129c690fec5546a8.zip |
Relevant BUGIDs:
Purpose of commit: new feature
Commit summary:
---------------
Add test for [...] control sequences.
2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
* xtests/tst-pam_dispatch4.c: New test.
* xtests/tst-pam_dispatch4.pamd: PAM config for new test.
Diffstat (limited to 'xtests/tst-pam_dispatch4.pamd')
-rw-r--r-- | xtests/tst-pam_dispatch4.pamd | 8 |
1 files changed, 8 insertions, 0 deletions
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 |