stas 2003/10/01 23:29:46
Modified: ModPerl-Registry/t/conf extra.conf.in
t/conf extra.conf.in
. Changes
Log:
To make the test-sute sandbox-friendly, which break when things try to
run off /tmp, use t/logs as the location of the mod_cgid socket and
TMPDIR env var
Submitted by: Haroon Rafique <[EMAIL PROTECTED]>
Revision Changes Path
1.11 +19 -1 modperl-2.0/ModPerl-Registry/t/conf/extra.conf.in
Index: extra.conf.in
===================================================================
RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/t/conf/extra.conf.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -u -r1.10 -r1.11
--- extra.conf.in 5 Aug 2003 18:51:10 -0000 1.10
+++ extra.conf.in 2 Oct 2003 06:29:46 -0000 1.11
@@ -145,4 +145,22 @@
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>
-</Location>
\ No newline at end of file
+</Location>
+
+# <sandbox-friendly>
+# keep everything self-contained, to avoid problems with sandboxes
+# which break when things try to run off /tmp
+#
+# XXX: consider folding the the following two settings into
+# Apache-Test's autogenerated httpd.conf
+<IfModule mod_cgid.c>
+ ScriptSock logs/cgisock
+</IfModule>
+#
+# XXX: would be nice to have Apache-Test support @tmp@ which will map
+# onto t/tmp by default and provide a new -tmp option to override this
+# default
+SetEnv TMPDIR @t_logs@
+# </sandbox-friendly>
+
+
1.7 +11 -0 modperl-2.0/t/conf/extra.conf.in
Index: extra.conf.in
===================================================================
RCS file: /home/cvs/modperl-2.0/t/conf/extra.conf.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -u -r1.6 -r1.7
--- extra.conf.in 3 Feb 2003 22:56:19 -0000 1.6
+++ extra.conf.in 2 Oct 2003 06:29:46 -0000 1.7
@@ -23,3 +23,14 @@
PerlModule Doesnt::Exist
</IfDefine>
</IfModule>
+
+# <sandbox-friendly>
+# keep everything self-contained, to avoid problems with sandboxes
+# which break when things try to run off /tmp
+<IfModule mod_cgid.c>
+ ScriptSock logs/cgisock
+</IfModule>
+#
+SetEnv TMPDIR @t_logs@
+# </sandbox-friendly>
+
1.226 +4 -0 modperl-2.0/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/modperl-2.0/Changes,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -u -r1.225 -r1.226
--- Changes 1 Oct 2003 19:54:10 -0000 1.225
+++ Changes 2 Oct 2003 06:29:46 -0000 1.226
@@ -12,6 +12,10 @@
=item 1.99_11-dev -
+To make the test-sute sandbox-friendly, which break when things try to
+run off /tmp, use t/logs as the location of the mod_cgid socket and
+TMPDIR env var [Haroon Rafique <[EMAIL PROTECTED]>]
+
=item 1.99_10 - September 29, 2003
added Apache::CRLF, Apache::CR, and Apache::LF to