summaryrefslogtreecommitdiffstats
path: root/test/enum.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2023-08-04 21:47:50 (GMT)
committerGitHub <noreply@github.com>2023-08-04 21:47:50 (GMT)
commitf3de9ee39d9c5d24389cb652ce1a583e61d40af2 (patch)
tree70b5bf96bfc853daf565b20114b22c7f1124c95a /test/enum.c
parent4cab7b08a0892a4fc92808e069084fdcf0931b4f (diff)
downloadhdf5-f3de9ee39d9c5d24389cb652ce1a583e61d40af2.zip
hdf5-f3de9ee39d9c5d24389cb652ce1a583e61d40af2.tar.gz
hdf5-f3de9ee39d9c5d24389cb652ce1a583e61d40af2.tar.bz2
Merge hdf5_1_14 changes 07-29 to 08-04 (#3355)
* Fix loading plugin fails with missing directory GH issue #3248 (#3323) * Switch parallel compression to use vector I/O (#3245) (#3327) Updates parallel compression feature to use vector I/O instead of creating and passing down MPI derived types to VFD * Fix incorrect error check in H5Ofill.c for undefined fill values (#3312) (#3328) * Fix H5Otoken_to_str call in h5dump and other minor cleanup (#3314) (#3329) * Fix h5repack for variable-length datatyped datasets (#3331) (#3333) * Merge Made HGOTO_ERROR a do-while loop changes from develop (#3334) * Merge Fixes the last of the -Wextra-semi-stmt warnings #3326 (#3338) * Fix assertion failure in H5D__mpio_collective_filtered_vec_io (#3340) (#3350) * Merges from develop Aug 2-4 (#3354) * Fix CVE-2018-11202 (#3330) A malformed file could result in chunk index memory leaks. Under most conditions (i.e., when the --enable-using-memchecker option is NOT used), this would result in a small memory leak and and infinite loop and abort when shutting down the library. The infinite loop would be due to the "free list" package not being able to clear its resources so the library couldn't shut down. When the "using a memory checker" option is used, the free lists are disabled so there is just a memory leak with no abort on library shutdown. The chunk index resources are now correctly cleaned up when reading misparsed files and valgrind confirms no memory leaks. * Fix CVE-2018-13867 (#3336) * Windows runtime items go into the bin folder (#3320) * Commit changes to generated file generated by autogen.sh: configure, H5Einit.h, and H5Tconv.c. * Committing clang-format changes
Diffstat (limited to 'test/enum.c')
-rw-r--r--test/enum.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/enum.c b/test/enum.c
index 4b8d7c7..8ee0606 100644
--- a/test/enum.c
+++ b/test/enum.c
@@ -532,7 +532,7 @@ test_value_dsnt_exist(void)
{
ret = H5Tenum_valueof(tid, "SAX", &val);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (ret >= 0)
FAIL_PUTS_ERROR("H5Tenum_valueof should not pass with a non-existing name");
@@ -541,7 +541,7 @@ test_value_dsnt_exist(void)
{
ret = H5Tenum_nameof(tid, &val, name, size);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (ret >= 0)
FAIL_PUTS_ERROR("H5Tenum_nameof should not pass with a non-existing value");
@@ -562,7 +562,7 @@ test_value_dsnt_exist(void)
{
ret = H5Tenum_nameof(tid, &BAD_VALUES[i], name, size);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (ret >= 0) {
H5_FAILED();
printf("Bad value: %d -- ", BAD_VALUES[i]);
@@ -576,7 +576,7 @@ test_value_dsnt_exist(void)
{
ret = H5Tenum_valueof(tid, BAD_NAMES[i], &val);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (ret >= 0) {
H5_FAILED();
printf("Bad name: %s -- ", BAD_NAMES[i]);
@@ -652,7 +652,7 @@ test_funcs(void)
{
ret = H5Tset_pad(tid, H5T_PAD_ZERO, H5T_PAD_ONE);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (ret >= 0)
FAIL_PUTS_ERROR("H5Tset_pad should not work with enum types");
@@ -770,7 +770,7 @@ error:
H5Tclose(cmpd_id);
H5Tclose(copy_id);
}
- H5E_END_TRY;
+ H5E_END_TRY
return 1;
}