Running nginx tests fails with error nginx: invalid option: "e"
mdounin at mdounin.ru
Mon Oct 10 15:24:36 UTC 2022
On Mon, Oct 10, 2022 at 09:31:28AM -0400, ankitpatodiya wrote:
> I am trying to run nginx test using below command (nginx version is 1.16.1)
> TEST_NGINX_BINARY=/usr/sbin/nginx TEST_NGINX_UNSAFE=true prove
> but get below error -
> nginx: invalid option: "e"
> Can't start nginx at lib/Test/Nginx.pm line 350.
> Can someone please clarify the reason for the error?
You are trying to run tests with an nginx version which is
obsolete and no longer supported by the test suite, see this
Supported versions are mainline 1.23.x and stable 1.22.x.
Hope this helps.
More information about the nginx