Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set User directive in the module, not in the test(s)

  • Loading branch information...
commit e712a007cdda5770f086974aee84a6da9b0bf26a 1 parent e2390f4
@kazuho authored
Showing with 1 addition and 2 deletions.
  1. +1 −0  lib/Test/Httpd/Apache2.pm
  2. +0 −2  t/00base.t
View
1  lib/Test/Httpd/Apache2.pm
@@ -179,6 +179,7 @@ PidFile @{[$self->tmpdir]}/httpd.pid
<IfModule !mpm_winnt_module>
LockFile @{[$self->tmpdir]}/httpd.lock
</IfModule>
+@{[ $< == 0 ? "User nobody" : ()]}
ErrorLog @{[$self->tmpdir]}/error_log
Listen @{[$self->listen]}
$load_modules
View
2  t/00base.t
@@ -22,8 +22,6 @@ my $httpd = Test::Httpd::Apache2->new(
custom_conf => join(
"\n",
q(DocumentRoot t/assets/htdocs),
- ($< == 0 ? ('User nobody') : ()),
- '',
),
);
Please sign in to comment.
Something went wrong with that request. Please try again.