Make "make test" fail if bntest fails an internal selfcheck.
This commit is contained in:
parent
9fe6729b46
commit
233bf734d3
6
CHANGES
6
CHANGES
@ -5,6 +5,12 @@
|
|||||||
|
|
||||||
Changes between 0.9.3a and 0.9.4
|
Changes between 0.9.3a and 0.9.4
|
||||||
|
|
||||||
|
*) When bntest is run from "make test" it drives bc to check its
|
||||||
|
calculations, as well as internally checking them. If an internal check
|
||||||
|
fails, it needs to cause bc to give a non-zero result or make test carries
|
||||||
|
on without noticing the failure. Fixed.
|
||||||
|
[Ben Laurie]
|
||||||
|
|
||||||
*) DES library cleanups.
|
*) DES library cleanups.
|
||||||
[Ulf Möller]
|
[Ulf Möller]
|
||||||
|
|
||||||
|
@ -212,6 +212,7 @@ int main(int argc, char *argv[])
|
|||||||
/**/
|
/**/
|
||||||
exit(0);
|
exit(0);
|
||||||
err:
|
err:
|
||||||
|
BIO_puts(out,"1\n"); /* make sure bc fails if we are piping to it */
|
||||||
ERR_load_crypto_strings();
|
ERR_load_crypto_strings();
|
||||||
ERR_print_errors(out);
|
ERR_print_errors(out);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user