diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-09-20 17:40:51 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-09-20 17:40:51 (GMT) |
commit | 67a126c7ba8825ffb193c930c7b8cae939b3446d (patch) | |
tree | eca9e38529355d2ec2a9c5fd934e7a9d9e4821b7 /test/cache_logging.c | |
parent | 99299e195b5294549b75b28321ae7f8d2c6f8644 (diff) | |
download | hdf5-67a126c7ba8825ffb193c930c7b8cae939b3446d.zip hdf5-67a126c7ba8825ffb193c930c7b8cae939b3446d.tar.gz hdf5-67a126c7ba8825ffb193c930c7b8cae939b3446d.tar.bz2 |
Normalization with vol_integration (test code and H5Xtest.c)
Diffstat (limited to 'test/cache_logging.c')
-rw-r--r-- | test/cache_logging.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/cache_logging.c b/test/cache_logging.c index 1eb9d41..6fd48d8 100644 --- a/test/cache_logging.c +++ b/test/cache_logging.c @@ -40,8 +40,8 @@ test_logging_api(void) char *location = NULL; size_t size; - hid_t fid; - hid_t gid; + hid_t fid = -1; + hid_t gid = -1; hbool_t is_currently_logging; char group_name[8]; char filename[1024]; @@ -166,10 +166,11 @@ main(void) if(nerrors) { HDprintf("***** %d Metadata cache logging TEST%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : ""); - return 1; + HDexit(EXIT_FAILURE); } HDprintf("All Metadata Cache Logging tests passed.\n"); - return 0; + + HDexit(EXIT_SUCCESS); } |