Mercurial > hg > nginx-tests
changeset 133:342b31c8f3af
Tests: use TEST_NGINX_LEAVE instead of LEAVE.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 11 Mar 2010 04:00:55 +0300 |
parents | 79ae5c30e6b4 |
children | c4021ebb41b6 |
files | README lib/Test/Nginx.pm |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/README Thu Mar 11 03:45:10 2010 +0300 +++ b/README Thu Mar 11 04:00:55 2010 +0300 @@ -18,4 +18,5 @@ Currently each test creates it's own temporary directory and uses it for logs etc. One may instruct tests not to remove the temp directory (e.g. -for analysis of failed test) by setting LEAVE environment variable. +for analysis of failed test) by setting TEST_NGINX_LEAVE environment +variable.
--- a/lib/Test/Nginx.pm Thu Mar 11 03:45:10 2010 +0300 +++ b/lib/Test/Nginx.pm Thu Mar 11 04:00:55 2010 +0300 @@ -36,7 +36,7 @@ $self->{_testdir} = tempdir( 'nginx-test-XXXXXXXXXX', TMPDIR => 1, - CLEANUP => not $ENV{LEAVE} + CLEANUP => not $ENV{TEST_NGINX_LEAVE} ) or die "Can't create temp directory: $!\n";