diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-08-23 23:02:46 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-08-25 12:05:34 +0100 |
commit | 56562c472aa0cdc27670c04dbb7008b099029641 (patch) | |
tree | 107abe34df41bb5e79853aab550d47cb28a036a6 /test | |
parent | 467e5c1fb7efee2541b8ce7e5bce39f1b4614079 (diff) |
80-test_cmp_http.t: Skip IPv6 address test if IPv6 is unavailable
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/21825)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/80-test_cmp_http.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/recipes/80-test_cmp_http.t b/test/recipes/80-test_cmp_http.t index 2695c0f28f..1b0ec8a659 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]; } |