Have all tests use EXIT() to exit rather than exit(), since the latter doesn't

always give the expected result on some platforms.
This commit is contained in:
Richard Levitte
2002-11-28 18:54:30 +00:00
parent 6c359479d7
commit 55f78baf32
24 changed files with 105 additions and 60 deletions

View File

@@ -96,10 +96,10 @@ char *argv[];
METH_init(top);
METH_control(tmp1,METH_CONTROL_DUMP,stdout);
METH_control(tmp2,METH_CONTROL_DUMP,stdout);
exit(0);
EXIT(0);
err:
ERR_load_crypto_strings();
ERR_print_errors_fp(stderr);
exit(1);
EXIT(1);
return(0);
}