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:56:18 +00:00
parent 6a99f54418
commit dd54633339
21 changed files with 75 additions and 36 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);
}