Mercurial > hg > nginx-tests
comparison lib/Test/Nginx.pm @ 24:89b00444c168
Tests: use error.log instead of nginx-error.log.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 30 Sep 2008 21:39:23 +0400 |
parents | c57e8bd7bfc7 |
children | fb94a224fef2 |
comparison
equal
deleted
inserted
replaced
23:e6b7c3b5389c | 24:89b00444c168 |
---|---|
54 die "Unable to fork(): $!\n" unless defined $pid; | 54 die "Unable to fork(): $!\n" unless defined $pid; |
55 | 55 |
56 if ($pid == 0) { | 56 if ($pid == 0) { |
57 exec('../nginx/objs/nginx', '-c', "$testdir/nginx.conf", '-g', | 57 exec('../nginx/objs/nginx', '-c', "$testdir/nginx.conf", '-g', |
58 "pid $testdir/nginx.pid; " | 58 "pid $testdir/nginx.pid; " |
59 . "error_log $testdir/nginx-error.log debug;") | 59 . "error_log $testdir/error.log debug;") |
60 or die "Unable to exec(): $!\n"; | 60 or die "Unable to exec(): $!\n"; |
61 } | 61 } |
62 | 62 |
63 # wait for nginx to start | 63 # wait for nginx to start |
64 | 64 |