From: Matt Caswell Date: Wed, 13 Jan 2016 20:51:41 +0000 (+0000) Subject: Fix test_ordinals X-Git-Tag: OpenSSL_1_1_0-pre2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6b95a37833415d8fd1abb85f85e29fb57c05b11c;p=oweals%2Fopenssl.git Fix test_ordinals This used to work but somewhere along the line it broke and was failing to detect duplicate ordinals - which was the whole point of the test! Reviewed-by: Rich Salz --- diff --git a/test/recipes/01-test_ordinals.t b/test/recipes/01-test_ordinals.t index 53fb21ddb1..6c5efff7df 100755 --- a/test/recipes/01-test_ordinals.t +++ b/test/recipes/01-test_ordinals.t @@ -89,7 +89,7 @@ sub testordinals $newqual =~ s/!//g; if ($cnt > $tokens[1] || ($cnt == $tokens[1] && ($qualifier ne $newqual - || $qualifier eq "FUNCTION"))) { + || $qualifier eq ""))) { print STDERR "Invalid ordinal detected: ".$tokens[1]."\n"; $ret = 0; last;