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

@@ -60,6 +60,8 @@
#include <stdlib.h>
#include <openssl/rand.h>
#include "../e_os.h"
/* some FIPS 140-1 random number test */
/* some simple tests */
@@ -209,6 +211,6 @@ int main()
printf("test 4 done\n");
err:
err=((err)?1:0);
exit(err);
EXIT(err);
return(err);
}