From 53b0b0a330d6d7dec22dfd1162b197d5f21a3231 Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Tue, 27 May 2014 23:26:11 +0100 Subject: [PATCH] Fix for test_bn regular expression to work on Windows using MSYS. PR#3346 --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 0b3b3e818f1..4e8d93a5e45 100644 --- a/test/Makefile +++ b/test/Makefile @@ -254,7 +254,7 @@ test_bn: @../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) -- 2.47.2