HDFFV-10143 surround will fail with try block

This commit is contained in:
Allen Byrne 2017-03-30 17:11:50 -05:00
parent 8e66383393
commit 1eb4693aa8

View File

@ -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();