[nginx-tests] Tests: fixed http_listen.t on platforms without IPv6.

Maxim Dounin mdounin at mdounin.ru
Sat May 11 15:56:16 UTC 2024


details:   http://freenginx.org/hg/nginx-tests/rev/e6b20af0be5b
branches:  
changeset: 1975:e6b20af0be5b
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Sat May 11 18:55:25 2024 +0300
description:
Tests: fixed http_listen.t on platforms without IPv6.

diffstat:

 http_listen.t |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/http_listen.t b/http_listen.t
--- a/http_listen.t
+++ b/http_listen.t
@@ -71,7 +71,7 @@ my $p2 = port(8182);
 plan(skip_all => 'no requested ranges')
 	if "$p2$p3" ne "81828183";
 
-$t->run()->plan(9);
+$t->try_run('no inet6 support')->plan(9);
 
 ###############################################################################
 



More information about the nginx-devel mailing list