summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2020-01-09 09:34:36 +0100
committerJan Pazdziora <jpazdziora@redhat.com>2020-01-09 09:34:36 +0100
commit1ba8c3bc00148e567eb517720fbf6130711c9669 (patch)
tree24a1dcf9abf9651482714fb9f084d94f01851565
parentca023ee5c6f87e0897508428d09eaf398a733e2f (diff)
downloadmod_authnz_pam-1ba8c3bc00148e567eb517720fbf6130711c9669.tar.gz
mod_authnz_pam-1ba8c3bc00148e567eb517720fbf6130711c9669.tar.xz
mod_authnz_pam-1ba8c3bc00148e567eb517720fbf6130711c9669.zip
Allow easy rerunning tests/run.sh multiple times.
-rwxr-xr-xtests/run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh
index a65f986..a1cbbab 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -11,6 +11,8 @@ for i in $( seq 1 10 ) ; do
sleep 3
done
+rm -f /etc/pam-auth/*
+
echo "Testing Require pam-account"
curl -s -D /dev/stdout -o /dev/null http://localhost/authz | tee /dev/stderr | grep 401
curl -u alice:Tajnost -s -D /dev/stdout -o /dev/null http://localhost/authz | tee /dev/stderr | grep 401