diff options
author | Richard Levitte <levitte@openssl.org> | 2016-09-06 00:48:13 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-09-06 00:48:13 +0200 |
commit | 77a42b5f177e308233ab108806c48b9590a780e2 (patch) | |
tree | bcd0de5aadb59a4fdbf48b11cc1e6480c3ce879a | |
parent | 7e5b8b93f2ffa8300b992d2e79c50f0e5266c61b (diff) |
Correct detection of group end in map file when testing symbol presence
Reviewed-by: Matt Caswell <matt@openssl.org>
-rw-r--r-- | test/recipes/01-test_symbol_presence.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/recipes/01-test_symbol_presence.t b/test/recipes/01-test_symbol_presence.t index dbd4b1008d..7f2a2d75b8 100644 --- a/test/recipes/01-test_symbol_presence.t +++ b/test/recipes/01-test_symbol_presence.t @@ -69,6 +69,7 @@ foreach my $libname (@libnames) { map { s|;||; s|\s+||g; $_ } grep { $in_global = 1 if m|global:|; $in_global = 0 if m|local:|; + $in_global = 0 if m|\}|; $in_global && m|;|; } @def_lines; note "Number of lines in \@nm_lines after massaging: ", scalar @nm_lines; |