From: Richard Levitte Date: Wed, 6 Dec 2000 10:54:31 +0000 (+0000) Subject: Have the self test use bctest to check that bc is sane. X-Git-Tag: OpenSSL_0_9_6a-beta1~107^2~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=db01d55671933c6675aac2936e962ab621620355;p=oweals%2Fopenssl.git Have the self test use bctest to check that bc is sane. --- 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;