scripts/test-installation.pl: Ignore nss_test* DSOs [BZ #21911]

Submitted by Florian Weimer on Aug. 10, 2017, 12:24 p.m.

Details

Message ID 20170810122423.B1965439942E1@oldenburg.str.redhat.com
State New
Headers show

Commit Message

Florian Weimer Aug. 10, 2017, 12:24 p.m.
2017-08-10  Florian Weimer  <fweimer@redhat.com>

	[BZ #21911]
	* scripts/test-installation.pl: Ignore nss_test* DSOs.

Patch hide | download patch | download mbox

diff --git a/scripts/test-installation.pl b/scripts/test-installation.pl
index c5b9fdefd2..4b0e9f3c4a 100755
--- a/scripts/test-installation.pl
+++ b/scripts/test-installation.pl
@@ -124,7 +124,7 @@  while (<SOVERSIONS>) {
     next if ($build_mathvec == 0 && $name eq "mvec");
     if ($name ne "nss_ldap" && $name ne "db1"
 	&& !($name =~/^nss1_/) && $name ne "thread_db"
-	&& $name ne "nss_test1" && $name ne "libgcc_s") {
+	&& $name !~ /^nss_test\d+/ && $name ne "libgcc_s") {
       $link_libs .= " -l$name";
       $versions{$name} = $version;
     }