aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-12-06 10:32:55 +0000
committerBodo Möller <bodo@openssl.org>2000-12-06 10:32:55 +0000
commit0a52d38b31ee56479c80509716c3bd46b764190a (patch)
treedf2933809baa4761b81859b83d3c4e3427494a06 /test/Makefile.ssl
parent902d1051b140d6677e05a0e6eb8a429d2f81ee46 (diff)
downloadopenssl-0a52d38b31ee56479c80509716c3bd46b764190a.tar.gz
Use bc's "print" feature whenever it is available,
not just on certain platforms.
Diffstat (limited to 'test/Makefile.ssl')
-rw-r--r--test/Makefile.ssl8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/Makefile.ssl b/test/Makefile.ssl
index 867789847c..9b96f64062 100644
--- a/test/Makefile.ssl
+++ b/test/Makefile.ssl
@@ -195,12 +195,8 @@ test_bn:
@echo starting big number library test, could take a while...
@./$(BNTEST) >tmp.bntest
@echo quit >>tmp.bntest
- @if sh ./bctest; then \
- echo "running bc"; \
- bc tmp.bntest 2>&1 | $(PERL) -e 'while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} print STDERR "."; $$i++;} print STDERR "\n$$i tests passed\n"'; \
- else \
- echo "skipping bc-based verification"; \
- fi
+ @echo "running bc"
+ @<tmp.bntest sh -c "`sh ./bctest`" 2>&1 | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} print STDERR "."; $$i++;} print STDERR "\n$$i tests passed\n"'
@echo 'test a^b%c implementations'
./$(EXPTEST)