summaryrefslogtreecommitdiffstats
path: root/test/extend.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2011-04-15 22:05:23 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2011-04-15 22:05:23 (GMT)
commit7610dd20af382ba6d784c95f6436bb56ff895e07 (patch)
tree4cd64207ed16a5ea96dc3669e2efa6a645c89f67 /test/extend.c
parente1ed6bb771ad03d584b465036dba79cbad2254c5 (diff)
downloadhdf5-7610dd20af382ba6d784c95f6436bb56ff895e07.zip
hdf5-7610dd20af382ba6d784c95f6436bb56ff895e07.tar.gz
hdf5-7610dd20af382ba6d784c95f6436bb56ff895e07.tar.bz2
[svn-r20529] 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/extend.c')
-rw-r--r--test/extend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/extend.c b/test/extend.c
index 3ffcadc..5951e69 100644
--- a/test/extend.c
+++ b/test/extend.c
@@ -287,6 +287,9 @@ main (void)
if(H5Sclose(mem_space) < 0) TEST_ERROR;
if(H5Fclose(file) < 0) TEST_ERROR;
+ /* Verify symbol table messages are cached */
+ nerrors += (h5_verify_cached_stabs(FILENAME, fapl) < 0 ? 1 : 0);
+
if(nerrors) {
printf("***** %d FAILURE%s! *****\n", nerrors, (1 == nerrors) ? "" : "S");
exit(1);