From 805bdac5f37bb820658f70269941086bef6c085b Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 29 Dec 2021 14:44:00 +0000 Subject: [PATCH] Fix the symbol_presence test with a shlib_variant If a shlib_variant is used then the dynamic version information for symbols will be different from what the symbol presence test was expecting. We just make it more liberal about what it accepts as dynamic version information. Fixes #17366 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17372) --- test/recipes/01-test_symbol_presence.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/recipes/01-test_symbol_presence.t b/test/recipes/01-test_symbol_presence.t index efe0760c25..5530ade0ad 100644 --- a/test/recipes/01-test_symbol_presence.t +++ b/test/recipes/01-test_symbol_presence.t @@ -76,7 +76,7 @@ foreach my $libname (@libnames) { # Drop the first space and everything following it s| .*||; # Drop OpenSSL dynamic version information if there is any - s|\@\@OPENSSL_[0-9._]+[a-z]?$||; + s|\@\@.+$||; # Return the result $_ } -- 2.34.1