mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
HDFFV-10143 surround will fail with try block
This commit is contained in:
parent
8e66383393
commit
1eb4693aa8
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user