From 55f78baf32f213301a0e8d6c6e7f40bd3b9857b1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 28 Nov 2002 18:54:30 +0000 Subject: Have all tests use EXIT() to exit rather than exit(), since the latter doesn't always give the expected result on some platforms. --- test/methtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/methtest.c') diff --git a/test/methtest.c b/test/methtest.c index 06ccb3b310..005c2f4822 100644 --- a/test/methtest.c +++ b/test/methtest.c @@ -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); } -- cgit v1.2.3