summaryrefslogtreecommitdiff
path: root/xtests/run-xtests.sh
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2007-10-01 09:41:32 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2007-10-01 09:41:32 +0000
commit417cb2fbd8bd7ca905c5611588654516c58bced1 (patch)
tree603035e7403a52d403b9cf4e365b080c469d989f /xtests/run-xtests.sh
parent1435f0a4045b3af4f1390aa8b9054b8ac9a0a0b4 (diff)
downloadlinux-pam-git-417cb2fbd8bd7ca905c5611588654516c58bced1.tar.gz
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- 2007-10-01 Thorsten Kukuk <kukuk@thkukuk.de> * xtests/tst-pam_group1.c: New test case for user compare in pam_group. * xtests/tst-pam_group1.sh: Script to run test case. * xtests/tst-pam_group1.pamd: Config for test case. * xtests/Makefile.am: Add tst-pam_group1 test case. * xtests/run-xtests.sh: Save/restore group.conf. * xtests/group.conf: New. * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Don't free arguments used for putenv(). * doc/man/pam_putenv.3.xml: Document that application has to free the memory.
Diffstat (limited to 'xtests/run-xtests.sh')
-rwxr-xr-xxtests/run-xtests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/xtests/run-xtests.sh b/xtests/run-xtests.sh
index 24adf121..53dbdf06 100755
--- a/xtests/run-xtests.sh
+++ b/xtests/run-xtests.sh
@@ -19,6 +19,8 @@ all=0
mkdir -p /etc/security
cp /etc/security/access.conf /etc/security/access.conf-pam-xtests
install -m 644 "${SRCDIR}"/access.conf /etc/security/access.conf
+cp /etc/security/group.conf /etc/security/group.conf-pam-xtests
+install -m 644 "${SRCDIR}"/group.conf /etc/security/group.conf
cp /etc/security/limits.conf /etc/security/limits.conf-pam-xtests
install -m 644 "${SRCDIR}"/limits.conf /etc/security/limits.conf
for testname in $XTESTS ; do
@@ -43,6 +45,7 @@ for testname in $XTESTS ; do
rm -f /etc/pam.d/$testname
done
mv /etc/security/access.conf-pam-xtests /etc/security/access.conf
+mv /etc/security/group.conf-pam-xtests /etc/security/group.conf
mv /etc/security/limits.conf-pam-xtests /etc/security/limits.conf
if test "$failed" -ne 0; then
echo "==================="