diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-04-03 17:34:17 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-04-03 17:36:29 (GMT) |
commit | c85ca3b7cc3fcb1becf349cbf3db400d452846db (patch) | |
tree | 4c24093097b3a3108df9b47eb5dfbac2213ea315 /test | |
parent | 4992a26ab3e920dadb8f3f05202a93ce81a353c7 (diff) | |
download | hdf5-c85ca3b7cc3fcb1becf349cbf3db400d452846db.zip hdf5-c85ca3b7cc3fcb1becf349cbf3db400d452846db.tar.gz hdf5-c85ca3b7cc3fcb1becf349cbf3db400d452846db.tar.bz2 |
Update with checks for index bounds
Diffstat (limited to 'test')
-rw-r--r-- | test/plugin.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/plugin.c b/test/plugin.c index 2e5319d..a706476 100644 --- a/test/plugin.c +++ b/test/plugin.c @@ -750,6 +750,8 @@ test_filter_path_apis(void) HDputs("Testing access to the filter path table"); + if(H5Zfilter_avail(H5Z_FILTER_DYNLIB1) != TRUE) TEST_ERROR + ndx = H5PLsize(); TESTING(" remove"); @@ -764,7 +766,7 @@ test_filter_path_apis(void) if (H5PLsize() > 0) TEST_ERROR PASSED(); - TESTING(" remove (exceed)"); + TESTING(" remove (exceed min)"); /* Exceed the min path removal */ H5E_BEGIN_TRY { ret = H5PLremove(0); @@ -795,6 +797,7 @@ test_filter_path_apis(void) if (ret >= 0) TEST_ERROR + TESTING(" remove (exceed max)"); /* Exceed the max path removal */ H5E_BEGIN_TRY { ret = H5PLremove(H5PL_MAX_PATH_NUM); |