summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mosmans <support@go-forward.net>2014-05-27 23:26:11 +0100
committerMatt Caswell <matt@openssl.org>2014-05-27 23:26:11 +0100
commit17e844a450985f07b4dbbc22e80224e11672a6f1 (patch)
tree34ebfa93f5ed9212dc0bdf4b0a27e6f63d66cb7e
parent8ca7d124304502158fba780eed293c4e3c5c1c71 (diff)
Fix for test_bn regular expression to work on Windows using MSYS. PR#3346
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 07c470d7ed..005f2e8d67 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -230,7 +230,7 @@ test_bn:
@../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest
@echo quit >>tmp.bntest
@echo "running bc"
- @<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"'
+ @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {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)