Permalink
Browse files

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

  • Loading branch information...
1 parent e2390f4 commit e712a007cdda5770f086974aee84a6da9b0bf26a @kazuho committed Oct 8, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −0 lib/Test/Httpd/Apache2.pm
  2. +0 −2 t/00base.t
@@ -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
@@ -22,8 +22,6 @@ my $httpd = Test::Httpd::Apache2->new(
custom_conf => join(
"\n",
q(DocumentRoot t/assets/htdocs),
- ($< == 0 ? ('User nobody') : ()),
- '',
),
);

0 comments on commit e712a00

Please sign in to comment.