summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2012-09-13 19:18:45 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2012-09-13 19:18:45 (GMT)
commit495b8de00214c9f99d6f10fd91de0feef55cefa8 (patch)
tree3b4b59b6de32b179aa2cb0c67e6ca739b89c47af /test
parent4e44c3b7e27e3cd76d148bc5158a17d747aeea62 (diff)
downloadhdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.zip
hdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.tar.gz
hdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.tar.bz2
[svn-r22761] Purpose: Fix testswmr failures
Description: Patched H5B2 shadowed list implementation to remove nodes from the shadowed list when they are evicted, and added some missing initializations. Also removed inadvertent temporary changes to the tests that disabled srandom, added assertions and fixed formatting. Tested: ummon
Diffstat (limited to 'test')
-rw-r--r--test/swmr_addrem_writer.c2
-rw-r--r--test/swmr_writer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/swmr_addrem_writer.c b/test/swmr_addrem_writer.c
index 24c485f..b175a14 100644
--- a/test/swmr_addrem_writer.c
+++ b/test/swmr_addrem_writer.c
@@ -269,7 +269,7 @@ int main(int argc, const char *argv[])
/* Create randomized set of numbers */
curr_time = time(NULL);
- //srandom((unsigned)curr_time);
+ srandom((unsigned)curr_time);
/* Emit informational message */
if(verbose)
diff --git a/test/swmr_writer.c b/test/swmr_writer.c
index d465d70..4957b00 100644
--- a/test/swmr_writer.c
+++ b/test/swmr_writer.c
@@ -244,7 +244,7 @@ int main(int argc, const char *argv[])
/* Create randomized set of numbers */
curr_time = time(NULL);
- srandom(15);//srandom((unsigned)curr_time);
+ srandom((unsigned)curr_time);
/* Emit informational message */
if(verbose)