[PATCH] Tests: fixed http_listen.t on platforms without IPv6

Maxim Dounin mdounin at mdounin.ru
Tue May 7 05:43:30 UTC 2024


# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1715050906 -10800
#      Tue May 07 06:01:46 2024 +0300
# Node ID 2e3736daf409fdb12ac27ab123292dac4d8e4940
# Parent  b5036a0f9ae0b3066fb75a5e33441e1c74f25bf4
Tests: fixed http_listen.t on platforms without IPv6.

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