diff options
Diffstat (limited to 'test/gen_cross.c')
-rw-r--r-- | test/gen_cross.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/gen_cross.c b/test/gen_cross.c index c468039..d72f4cb 100644 --- a/test/gen_cross.c +++ b/test/gen_cross.c @@ -1258,8 +1258,8 @@ main(void) /* Create memory space. This does not include the extra row for fill * values. */ - HDassert(dimsf[0] == NX); - HDassert(dimsf[1] == NY); + assert(dimsf[0] == NX); + assert(dimsf[1] == NY); if ((memspace = H5Screate_simple(RANK, dimsf, NULL)) < 0) TEST_ERROR; @@ -1325,8 +1325,8 @@ main(void) if (H5Fclose(file) < 0) TEST_ERROR; - HDexit(EXIT_SUCCESS); + exit(EXIT_SUCCESS); error: - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* end main() */ |