summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/vfd_swmr_indep_rw_writer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/vfd_swmr_indep_rw_writer.c b/test/vfd_swmr_indep_rw_writer.c
index 3aa8a2e..9f7fda7 100644
--- a/test/vfd_swmr_indep_rw_writer.c
+++ b/test/vfd_swmr_indep_rw_writer.c
@@ -616,6 +616,7 @@ main(int argc, char **argv)
TEST_ERROR;
}
+ /* The first process writes a dataset in the first file and then reads a dataset from the second file.*/
if (s.first_proc) {
writer = true;
@@ -685,6 +686,9 @@ main(int argc, char **argv)
}
else {
+ /* The second process reads the dataset of the first file generated by the first process,
+ * then writes a dataset in the second file for the first process to read.
+ */
writer = false;
if (false == indep_init_vfd_swmr_config_plist(&s, writer, "./file1-shadow")) {
HDfprintf(stderr, "Reader: Cannot initialize file property lists for file %s\n", s.filename[0]);