summaryrefslogtreecommitdiffstats
path: root/tests/auth.cgi
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2022-01-23 11:20:11 +0100
committerJan Pazdziora <jpazdziora@redhat.com>2022-01-30 12:03:38 +0100
commitcda71908dbb680b3f34fe7290d3351873416a8ae (patch)
tree8e10633f67a22b96f19a4956036a46a25e373c59 /tests/auth.cgi
parent2685a61a6a7b4a6886d715b8cd9f543d750e6183 (diff)
downloadmod_intercept_form_submit-cda71908dbb680b3f34fe7290d3351873416a8ae.tar.gz
mod_intercept_form_submit-cda71908dbb680b3f34fe7290d3351873416a8ae.tar.xz
mod_intercept_form_submit-cda71908dbb680b3f34fe7290d3351873416a8ae.zip
Add basic testing of the mod_intercept_form_submit modules.
The chmod g+r /etc/shadow approach is obviously only for testing.
Diffstat (limited to 'tests/auth.cgi')
-rwxr-xr-xtests/auth.cgi10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auth.cgi b/tests/auth.cgi
new file mode 100755
index 0000000..6a17487
--- /dev/null
+++ b/tests/auth.cgi
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo "Content-Type: text/plain"
+echo "Pragma: no-cache"
+echo
+echo "REMOTE_USER=[$REMOTE_USER]"
+echo ---
+cat
+echo
+echo ---