aboutsummaryrefslogtreecommitdiffstats
path: root/util/selftest.pl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-12-06 10:54:31 +0000
committerRichard Levitte <levitte@openssl.org>2000-12-06 10:54:31 +0000
commitdb01d55671933c6675aac2936e962ab621620355 (patch)
tree4d0435607624d1a9d183cedaeedd1603afae4ba2 /util/selftest.pl
parent0a52d38b31ee56479c80509716c3bd46b764190a (diff)
downloadopenssl-db01d55671933c6675aac2936e962ab621620355.tar.gz
Have the self test use bctest to check that bc is sane.
Diffstat (limited to 'util/selftest.pl')
-rw-r--r--util/selftest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/selftest.pl b/util/selftest.pl
index 775f1712e9..fabf366995 100644
--- a/util/selftest.pl
+++ b/util/selftest.pl
@@ -138,7 +138,7 @@ if (/no-/)
goto err;
}
-if (`echo 4+1 | bc` != 5)
+if (`echo 4+1 | bc` != 5 || (system("sh test/bctest") >> 8) != 0)
{
print OUT "Can't run bc! Test skipped.\n";
print OUT $not_our_fault;