summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-06-15 18:15:52 +0200
committerPauli <pauli@openssl.org>2021-06-16 09:09:21 +1000
commit07b8c0a18658354356870e2d42da9875aa299d9b (patch)
tree08679e2f1967ba78cccaabac46a84a5cc34a64c2
parent42cf25fcb6ea3c9e5998a1c4f55eedaad53b346f (diff)
TEST: Display the correct shared library name
In test/recipes/01-test_symbol_presence.t Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15776)
-rw-r--r--test/recipes/01-test_symbol_presence.t9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/recipes/01-test_symbol_presence.t b/test/recipes/01-test_symbol_presence.t
index e979c18f46..2166d1bc48 100644
--- a/test/recipes/01-test_symbol_presence.t
+++ b/test/recipes/01-test_symbol_presence.t
@@ -39,7 +39,8 @@ note
foreach my $libname (@libnames) {
SKIP:
{
- my $shlibpath = bldtop_file(platform->sharedlib("lib$libname"));
+ my $shlibname = platform->sharedlib("lib$libname");
+ my $shlibpath = bldtop_file($shlibname);
*OSTDERR = *STDERR;
*OSTDOUT = *STDOUT;
open STDERR, ">", devnull();
@@ -107,18 +108,18 @@ foreach my $libname (@libnames) {
}
if (scalar @missing) {
- note "The following symbols are missing in lib$libname.so:";
+ note "The following symbols are missing in ${shlibname}:";
foreach (@missing) {
note " $_";
}
}
if (scalar @extra) {
- note "The following symbols are extra in lib$libname.so:";
+ note "The following symbols are extra in ${shlibname}:";
foreach (@extra) {
note " $_";
}
}
ok(scalar @missing == 0,
- "check that there are no missing symbols in lib$libname.so");
+ "check that there are no missing symbols in ${shlibname}");
}
}