diff options
author | David Young <dyoung@hdfgroup.org> | 2019-10-23 15:47:14 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-10-23 15:47:14 (GMT) |
commit | 0ea6e75d9ff6a62b5e5590dec84df88b781a6e85 (patch) | |
tree | d1dc52ab5c87ca799488348807c7457fdab291db /test/testvfdswmr.sh.in | |
parent | e84a416ad85836cdedbe947250f409b6e2c8fbea (diff) | |
download | hdf5-0ea6e75d9ff6a62b5e5590dec84df88b781a6e85.zip hdf5-0ea6e75d9ff6a62b5e5590dec84df88b781a6e85.tar.gz hdf5-0ea6e75d9ff6a62b5e5590dec84df88b781a6e85.tar.bz2 |
VFD SWMR sparse readers failed to open the .h5 file because the sparse writer
had finished its work and closed the .h5 file, thus removing the shadow file.
Make the sparse writer wait to close the .h5 file for a signal from
testvfdswmr.sh. In testvfdswmr.sh, send the signal when the readers have all
finished.
Diffstat (limited to 'test/testvfdswmr.sh.in')
-rw-r--r-- | test/testvfdswmr.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/testvfdswmr.sh.in b/test/testvfdswmr.sh.in index 6cb2960..39f6931 100644 --- a/test/testvfdswmr.sh.in +++ b/test/testvfdswmr.sh.in @@ -464,7 +464,9 @@ fi $IFDEBUG ps # Wait for the readers and the writer to finish. - wait + wait $pid_readers + kill -USR1 $pid_writer + wait $pid_writer # Collect exit codes of the readers n=0 |