<div dir="ltr">Ok, thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-21 21:04 GMT+08:00 Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<span class=""><br>
On Fri, Oct 21, 2016 at 11:44:01AM +0800, 洪志道 wrote:<br>
<br>
> Hi!<br>
><br>
> I run the following test.<br>
><br>
> > cat test.t<br>
> #!/usr/bin/perl<br>
><br>
> use warnings;<br>
> use strict;<br>
><br>
> use File::Temp qw/ tempdir /;<br>
><br>
> tempdir(<br>
>         'nginx-test-XXXXXXXXXX',<br>
>         TMPDIR => 1<br>
>     )<br>
>         or die "Can't create temp directory: $!\n";<br>
><br>
><br>
> > prove test.t<br>
><br>
><br>
> > ll -d /tmp/nginx-test*<br>
> drwx------ 2 root root 4096 Oct 20 06:09 /tmp/nginx-test-8ZmZ2FksyP<br>
><br>
><br>
> The same problem is exist in nginx-test. And I can't pass the test like<br>
> request_id.t.<br>
<br>
</span>Start tests under unprivileged user, not under root.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" rel="noreferrer" target="_blank">http://nginx.org/</a><br>
<br>
______________________________<wbr>_________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx-devel</a></font></span></blockquote></div><br></div>