diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-03-30 22:11:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-03-30 22:14:25 (GMT) |
commit | 774b1cfe79c92cb0048d89aaa741ca80c50b42c9 (patch) | |
tree | efa999f2be5876597f970b0857c3cb222b62ffc5 /test | |
parent | 7c0bf0c41d11e47f394587d5095ad29375ae43bc (diff) | |
download | hdf5-774b1cfe79c92cb0048d89aaa741ca80c50b42c9.zip hdf5-774b1cfe79c92cb0048d89aaa741ca80c50b42c9.tar.gz hdf5-774b1cfe79c92cb0048d89aaa741ca80c50b42c9.tar.bz2 |
HDFFV-10143 surround will fail with try block
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 eab0de9..cdd172c 100644 --- a/test/plugin.c +++ b/test/plugin.c @@ -838,7 +838,10 @@ test_filter_path_apis(void) PASSED(); TESTING(" get (bounds exceed)"); - if ((pathlen = H5PLget(H5PL_MAX_PATH_NUM, NULL, 0)) > 0) + H5E_BEGIN_TRY { + pathlen = H5PLget(H5PL_MAX_PATH_NUM, NULL, 0); + } H5E_END_TRY + if (pathlen > 0) TEST_ERROR PASSED(); |