summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-20 21:08:25 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-20 21:08:25 (GMT)
commit53cb28016d9adbb1d0c72599e80d600b6d1abb38 (patch)
tree6511c3fd1376453095d09ed7b1a8947cce96b04e /test/vfd_swmr.c
parentaee40b370d9d005f7d15cc3f4c2b4c78fc8a9ab8 (diff)
downloadhdf5-53cb28016d9adbb1d0c72599e80d600b6d1abb38.zip
hdf5-53cb28016d9adbb1d0c72599e80d600b6d1abb38.tar.gz
hdf5-53cb28016d9adbb1d0c72599e80d600b6d1abb38.tar.bz2
Straggler from last: retire vfd_swmr_writer_g.
Diffstat (limited to 'test/vfd_swmr.c')
-rw-r--r--test/vfd_swmr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd_swmr.c b/test/vfd_swmr.c
index 02cb877..96c9cf7 100644
--- a/test/vfd_swmr.c
+++ b/test/vfd_swmr.c
@@ -1889,8 +1889,8 @@ test_multiple_file_opens(void)
if(H5Fclose(fid2) < 0)
FAIL_STACK_ERROR;
- /* The global vfd_swmr_writer_g should not be set */
- if(vfd_swmr_writer_g)
+ /* Head of EOT queue should not be a writer */
+ if((curr = TAILQ_FIRST(&eot_queue_g)) != NULL && curr->vfd_swmr_writer)
TEST_ERROR;
/* The EOT queue should be empty */
if(!TAILQ_EMPTY(&eot_queue_g))