diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2007-01-31 19:19:44 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2007-01-31 19:19:44 +0000 |
commit | b12b648d8357e5baa5c607ca6703380b1e77b013 (patch) | |
tree | 2748fe8509c02c3567543bc665bb2e3edf72cdbf /xtests/tst-pam_unix1.sh | |
parent | 7cbfa335c57d068d59508c844f3957165cccfb9b (diff) | |
download | pam-b12b648d8357e5baa5c607ca6703380b1e77b013.tar.gz pam-b12b648d8357e5baa5c607ca6703380b1e77b013.tar.bz2 pam-b12b648d8357e5baa5c607ca6703380b1e77b013.zip |
Relevant BUGIDs:
Purpose of commit: new feature
Commit summary:
---------------
2007-01-31 Thorsten Kukuk <kukuk@thkukuk.de>
* xtests/Makefile.am: Add new pam_unix.so tests
* xtests/run-xtests.sh: Prefer shell scripts (wrapper)
over binaries.
* xtests/tst-pam_cracklib1.c: Fix typo.
* xtests/tst-pam_unix1.c: New, for sucurity fix.
* xtests/tst-pam_unix1.pamd: New.
* xtests/tst-pam_unix1.sh: New.
* xtests/tst-pam_unix2.c: New, for crypt checks.
* xtests/tst-pam_unix2.pamd: New.
* xtests/tst-pam_unix2.sh: New.
* xtests/tst-pam_unix3.c: New, for bigcrypt checks.
* xtests/tst-pam_unix3.pamd: New.
* xtests/tst-pam_unix3.sh: New.
Diffstat (limited to 'xtests/tst-pam_unix1.sh')
-rwxr-xr-x | xtests/tst-pam_unix1.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xtests/tst-pam_unix1.sh b/xtests/tst-pam_unix1.sh new file mode 100755 index 00000000..f75bd842 --- /dev/null +++ b/xtests/tst-pam_unix1.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +/usr/sbin/useradd -p '!!' tstpamunix +./tst-pam_unix1 +RET=$? +/usr/sbin/userdel -r tstpamunix 2> /dev/null +exit $RET |