aboutsummaryrefslogtreecommitdiffstats
path: root/test/bctest
diff options
context:
space:
mode:
Diffstat (limited to 'test/bctest')
-rwxr-xr-xtest/bctest5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/bctest b/test/bctest
index 2365152439..38e43efecc 100755
--- a/test/bctest
+++ b/test/bctest
@@ -1,5 +1,10 @@
#!/bin/sh
+# This script is used by test/Makefile.ssl to check whether a sane 'bc'
+# is installed.
+# ('make test_bn' should not try to run 'bc' if it does not exist or if
+# it is the broken SunOS 5.[78] bc, which fails the following test.)
+
if [ 0 != "`bc <<\EOF
obase=16
ibase=16