summaryrefslogtreecommitdiffstats
path: root/src/H5Ftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ftest.c')
-rw-r--r--src/H5Ftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ftest.c b/src/H5Ftest.c
index ced4b2c..f249d45 100644
--- a/src/H5Ftest.c
+++ b/src/H5Ftest.c
@@ -581,7 +581,7 @@ H5F__vfd_swmr_writer_md_test(hid_t file_id, unsigned num_entries,
HGOTO_ERROR(H5E_FILE, H5E_CANTALLOC, FAIL, "error updating the md file with the index")
/* Verify the number of entries in the delayed list is as expected */
- if(count_shadow_defrees(&f->shared->shadow_defrees) < nshadow_defrees)
+ if(count_shadow_defrees(&f->shared->shadow_defrees) == nshadow_defrees)
HGOTO_ERROR(H5E_FILE, H5E_BADVALUE, FAIL, "incorrect # of entries in the delayed list")
/* Open the metadata file */