apache-mod_perl/0028-Set-DefaultRuntimeDir-to-run-and-create-it.patch

37 lines
1.1 KiB
Diff
Raw Normal View History

From d7ab9880979feac37cea1184259d6510317e5e4f Mon Sep 17 00:00:00 2001
From: Jan Kaluza <hanzz.k@gmail.com>
Date: Tue, 25 Sep 2012 13:27:31 +0200
Subject: [PATCH 28/28] Set DefaultRuntimeDir to run/ and create it
---
Apache-Test/lib/Apache/TestConfig.pm | 1 +
t/conf/extra.conf.in | 1 +
2 files changed, 2 insertions(+)
diff --git a/Apache-Test/lib/Apache/TestConfig.pm b/Apache-Test/lib/Apache/TestConfig.pm
index 65d8515..1e07878 100644
--- a/Apache-Test/lib/Apache/TestConfig.pm
+++ b/Apache-Test/lib/Apache/TestConfig.pm
@@ -1559,6 +1559,7 @@ sub generate_httpd_conf {
$self->gendir($vars->{t_logs});
$self->gendir($vars->{t_conf});
+ $self->gendir($vars->{t_dir} . "/run");
my @very_last_postamble = ();
if (my $extra_conf = $self->generate_extra_conf) {
diff --git a/t/conf/extra.conf.in b/t/conf/extra.conf.in
index 3e8b005..94a1e26 100644
--- a/t/conf/extra.conf.in
+++ b/t/conf/extra.conf.in
@@ -1,5 +1,6 @@
# needed to test $r->psignature
ServerSignature On
+DefaultRuntimeDir run/
# The following tests require more than one interpreter during the
# same request:
--
1.7.11.4