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:13:28 (GMT) |
commit | f1e64c512ab785f10184c0f03c448c30bc9ca445 (patch) | |
tree | 72a475c4a996b0c1fe1e839cf0debf8e769fdffb | |
parent | 037e7a4a72e53f3c08c28d65bb8dc12287548e0c (diff) | |
download | hdf5-f1e64c512ab785f10184c0f03c448c30bc9ca445.zip hdf5-f1e64c512ab785f10184c0f03c448c30bc9ca445.tar.gz hdf5-f1e64c512ab785f10184c0f03c448c30bc9ca445.tar.bz2 |
HDFFV-10143 surround will fail with try block
-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 b7ca52b..fca8916 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(); |