summaryrefslogtreecommitdiffstats
path: root/test/swmr_generator.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2013-10-08 06:11:44 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2013-10-08 06:11:44 (GMT)
commit39fc26566e18ac81c43986ed2013676e2918ded2 (patch)
treed6241c1c75a5769ad876258b182e84ff02d33e41 /test/swmr_generator.c
parent43fc25841e2b4b0ad163fe967e6e0750ad3c6bba (diff)
downloadhdf5-39fc26566e18ac81c43986ed2013676e2918ded2.zip
hdf5-39fc26566e18ac81c43986ed2013676e2918ded2.tar.gz
hdf5-39fc26566e18ac81c43986ed2013676e2918ded2.tar.bz2
[svn-r24263] Changes to do re-reads for metadata with checksums when a file is opened with SWMR access.
There are debugging printfs which will be removed when coding is finalized. Also some bug fixes: 1) accum.c--clean up some warning messages and use new_argv/new_envp for the call to execve. 2) hl/tools/h5watch--clean up some warning messages and a bug fix for h5watch.c. This checkin is awaiting code review feedback.
Diffstat (limited to 'test/swmr_generator.c')
-rw-r--r--test/swmr_generator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/swmr_generator.c b/test/swmr_generator.c
index f0fcee6..bad992b 100644
--- a/test/swmr_generator.c
+++ b/test/swmr_generator.c
@@ -332,6 +332,7 @@ int main(int argc, const char *argv[])
gettimeofday(&t, NULL);
random_seed = (unsigned)((t.tv_sec * 1000) + t.tv_usec);
} /* end if */
+ /* random_seed = 125092666; */
srandom(random_seed);
/* ALWAYS emit the random seed for possible debugging */
fprintf(stderr, "Using generator random seed (used in sparse test only): %u\n", random_seed);