From 53cb28016d9adbb1d0c72599e80d600b6d1abb38 Mon Sep 17 00:00:00 2001 From: David Young Date: Mon, 20 Apr 2020 16:08:25 -0500 Subject: Straggler from last: retire vfd_swmr_writer_g. --- test/vfd_swmr.c | 4 ++-- 1 file 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)) -- cgit v0.12