Hello!
On Tue, Dec 29, 2015 at 3:36 PM, David Birdsong wrote:
> I can't figure out why setting TEST_NGINX_BINARY in my test doesn't
> propagate down to
> Test::Nginx::Util while exporting the variable in Bash affects the env
> properly.
>
You need to use the BEGIN {} block of Perl to set such environments
before the "use" statements you want to affect. See the
t/057-flush-timeout.t test file in lua-nginx-module for such an
example.
Regards,
-agentzh