openresty / test-nginx

Data-driven test scaffold for Nginx C module and OpenResty Lua library development
http://search.cpan.org/dist/Test-Nginx
438 stars 105 forks source link

Could user_files support set file mode? #144

Closed jizhuozhi closed 1 year ago

jizhuozhi commented 2 years ago

In some condition, I want to test the nginx or openresty behavior when file is permission denied, but I couldn't create the permission denied file in Perl tests.

So could user_files supports set file mode or provide other section supports?