summaryrefslogtreecommitdiffstats
path: root/test/cmpd_dset.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2011-04-15 22:14:32 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2011-04-15 22:14:32 (GMT)
commit4ad6d32bfe310ba8d2a57c813791cf4652909286 (patch)
treed20dfdfc115cfaad4321a94d7caeb6e67c3a3191 /test/cmpd_dset.c
parent27a7f563f1d199bb6f38c12978981518ad445f92 (diff)
downloadhdf5-4ad6d32bfe310ba8d2a57c813791cf4652909286.zip
hdf5-4ad6d32bfe310ba8d2a57c813791cf4652909286.tar.gz
hdf5-4ad6d32bfe310ba8d2a57c813791cf4652909286.tar.bz2
[svn-r20531] Purpose: Add testing for bug 1864
Description: Added internal tesitng routines to traverse a file and verify that symbol table information is *always* cached, whenever possible. Added this check to the end of many tests to check all the test files, right before the call to h5_cleanup. Tested: jam, amani, heiwa (h5committest)
Diffstat (limited to 'test/cmpd_dset.c')
-rw-r--r--test/cmpd_dset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c
index 08890a8..d7f7842 100644
--- a/test/cmpd_dset.c
+++ b/test/cmpd_dset.c
@@ -2208,6 +2208,9 @@ main (int argc, char *argv[])
puts("Testing compound member ordering:");
nerrors += test_ooo_order(fname);
+ /* Verify symbol table messages are cached */
+ nerrors += (h5_verify_cached_stabs(FILENAME, fapl_id) < 0 ? 1 : 0);
+
if (nerrors) {
printf("***** %u FAILURE%s! *****\n",
nerrors, 1==nerrors?"":"S");