From 56562c472aa0cdc27670c04dbb7008b099029641 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 23 Aug 2023 23:02:46 +0200 Subject: [PATCH] 80-test_cmp_http.t: Skip IPv6 address test if IPv6 is unavailable Reviewed-by: Hugo Landau Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/21825) --- test/recipes/80-test_cmp_http.t | 1 + 1 file changed, 1 insertion(+) diff --git a/test/recipes/80-test_cmp_http.t b/test/recipes/80-test_cmp_http.t index 2695c0f28f3..1b0ec8a659a 100644 --- a/test/recipes/80-test_cmp_http.t +++ b/test/recipes/80-test_cmp_http.t @@ -277,6 +277,7 @@ sub load_tests { my $title = $fields[$description]; next LOOP if (!defined($expected_result) || ($expected_result ne 0 && $expected_result ne 1)); + next LOOP if ($line =~ m/-server,\[.*:.*\]/ && !have_IPv6()); @fields = grep {$_ ne 'BLANK'} @fields[$description + 1 .. @fields - 1]; push @result, [$title, \@fields, $expected_result]; } -- 2.47.3