<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Hi Christian,<br>
<br>
A similar patch was already applied to the master branch - see
<a class="moz-txt-link-freetext" href="https://rt.openssl.org/Ticket/Display.html?id=3346">https://rt.openssl.org/Ticket/Display.html?id=3346</a> and commit
028bac0670c167f154438742eb4d0fbed73df209<br>
<br>
You could cherry-pick the commit and apply it to the 1.0.2 branch.<br>
<br>
<br>
Cheers,<br>
<br>
<br>
Peter Mosmans<br>
<br>
<div class="moz-cite-prefix">On 12-10-2015 12:03, christian fafard
via RT wrote:<br>
</div>
<blockquote
cite="mid:rt-4.0.19-27931-1444615380-1016.4083-6-0@openssl.org"
type="cite">
<pre wrap="">I'm sorry for that mess with the previous message.There was no CRLF because it was copy-pasted from emacs.
What i tried to say basically is that the "negate regex match" (!/^0$$/) constructused in the line 244 of 'test/Makefile' does not work with some versions of perl.Like for exemple, perl v5.8.8 in the MinGW/msys distibution.
That's the reason why 'make test' fail on that platform.
My proposal is to invert the if/else actions to get rid of the negation in the expression (/^0$$/).
So the line:
@<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"'
would became:
@<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (/^0$$/) {print STDERR "."; $$i++;} else {die "\nFailed! bc: $$_";}} print STDERR "\n$$i tests passed\n"'
I attached a patch.
ThanksChristian
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
openssl-dev mailing list
To unsubscribe: <a class="moz-txt-link-freetext" href="https://mta.openssl.org/mailman/listinfo/openssl-dev">https://mta.openssl.org/mailman/listinfo/openssl-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>