summaryrefslogtreecommitdiffstats
path: root/tests/config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/config.sh')
-rwxr-xr-xtests/config.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/config.sh b/tests/config.sh
index 6de8697..6a16991 100755
--- a/tests/config.sh
+++ b/tests/config.sh
@@ -12,4 +12,7 @@ chmod a+x /var/log/httpd
touch /var/log/httpd/pam_exec.log
chown apache /var/log/httpd/pam_exec.log
cp tests/auth.conf /etc/httpd/conf.d/
+if rpm -ql httpd | grep mod_authn_socache ; then
+ cat tests/auth-socache.conf >> /etc/httpd/conf.d/auth.conf
+fi
htpasswd -bc /etc/htpasswd alice Tajnost