From: Peter Mosmans Date: Tue, 27 May 2014 22:26:11 +0000 (+0100) Subject: Fix for test_bn regular expression to work on Windows using MSYS. PR#3346 X-Git-Tag: master-post-reformat~771 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=028bac0670c167f154438742eb4d0fbed73df209;p=oweals%2Fopenssl.git Fix for test_bn regular expression to work on Windows using MSYS. PR#3346 --- diff --git a/test/Makefile b/test/Makefile index 10389133cb..f1816ace15 100644 --- a/test/Makefile +++ b/test/Makefile @@ -289,7 +289,7 @@ test_bn: $(BNTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) bctest @../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest @echo quit >>tmp.bntest @echo "running bc" - @) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"' + @) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0\r?$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"' @echo 'test a^b%c implementations' ../util/shlib_wrap.sh ./$(EXPTEST)