Welcome! Log In Create A New Profile

Advanced

Re: Running nginx tests fails with error nginx: invalid option: "e"

Maxim Dounin
October 10, 2022 11:26AM
Hello!

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
> ${PROJECT_SOURCE_DIR}/nginx-tests
>
> 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
commit:

http://hg.nginx.org/nginx-tests/rev/ba625d5a02e4

Supported versions are mainline 1.23.x and stable 1.22.x.

Hope this helps.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Running nginx tests fails with error nginx: invalid option: "e"

ankitpatodiya October 10, 2022 09:31AM

Re: Running nginx tests fails with error nginx: invalid option: "e"

ankitpatodiya October 10, 2022 09:38AM

Re: Running nginx tests fails with error nginx: invalid option: "e"

Maxim Dounin October 10, 2022 11:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready