summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-02-16 10:51:30 +0000
committerfukachan <fukachan>2003-02-16 10:51:30 +0000
commitf6aa7e9e223b5e5a10a1e3a2f4bd3a499b2f3f01 (patch)
tree676758f560a7c9766211313e53d45b8ff0cf2d3f
parent77d5737574c47a293fffdc576bf50729c47ce67c (diff)
downloadfml8-f6aa7e9e223b5e5a10a1e3a2f4bd3a499b2f3f01.tar.gz
fml8-f6aa7e9e223b5e5a10a1e3a2f4bd3a499b2f3f01.tar.bz2
fml8-f6aa7e9e223b5e5a10a1e3a2f4bd3a499b2f3f01.zip
cheap wrapper to test cgi :-)
-rwxr-xr-xregress/simulation/test_cgi.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/simulation/test_cgi.sh b/regress/simulation/test_cgi.sh
new file mode 100755
index 00000000..3500070b
--- /dev/null
+++ b/regress/simulation/test_cgi.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# $FML$
+#
+
+user=${FML_EMUL_USER:-fml}
+group=${FML_EMUL_GROUP:-fml}
+browser=${FML_EMUL_BROWSER:-w3m}
+domain=${FML_EMUL_DOMAIN:-simulation.fml.org}
+
+sudo chown -R $user:$group $HOME/public_html
+
+$browser http://localhost/~$USER/cgi-bin/fml/$domain/admin/menu.cgi
+
+exit 0