summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-05-28 20:31:51 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-28 20:31:51 (GMT)
commitcb73324ce58e4bd326534d7b908fbcbaf54bea87 (patch)
tree0106dd75f3787bf3c915654e4e8c55084597b00f
parentf8d469ca38e1916414e2e1b30badeab8d6ad1a6e (diff)
downloadhdf5-cb73324ce58e4bd326534d7b908fbcbaf54bea87.zip
hdf5-cb73324ce58e4bd326534d7b908fbcbaf54bea87.tar.gz
hdf5-cb73324ce58e4bd326534d7b908fbcbaf54bea87.tar.bz2
Disable the error-stack printing around the H5Gopen() call that we know will
sometimes fail.
-rw-r--r--test/vfd_swmr_group_writer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/vfd_swmr_group_writer.c b/test/vfd_swmr_group_writer.c
index ae70cf1..9e36876 100644
--- a/test/vfd_swmr_group_writer.c
+++ b/test/vfd_swmr_group_writer.c
@@ -167,12 +167,15 @@ verify_group(state_t *s, unsigned int which)
{
char name[sizeof("/group-9999999999")];
hid_t g;
+ estack_state_t es;
assert(which < s->nsteps);
esnprintf(name, sizeof(name), "/group-%d", which);
+ es = disable_estack();
g = H5Gopen(s->file, name, H5P_DEFAULT);
+ restore_estack(es);
if (g < 0)
return false;