hdf5/test
Quincey Koziol 9431c7a97e [svn-r20536] Description:
Clean up various warnings & code formatting issues.

	Bring changes from Coverity branch to trunk:

r20085:
Purpose: Fix coverity issue 793

Description: Modified H5S_hyper_project_simple_higher() to free the entire span
list in new_space on failure.


r20091:
This is a fix for coverity bug #1683.
Changed the two printfs to use %lu (unsigned long) for printing "dset_size".


r20162:
Purpose: Fix coverity issue 785

Description: Modified H5T_enum_nameof() to free "name" on failure if it was
allocated.  Also clarified some code in H5S_hyper_rebuild_helper().


r20189:
Addressed coverity defect 783.

H5SL_new_node() in H5SL.c was failing to free space allocated in its
first alloc if the second alloc failed.  Added a call to H5FL_FREE
to address this issue.

This is purely to keep coverity happy -- if this code is ever triggered,
we have much larger problems.

Note that this fix will trigger an unused return value complaint
from coverity next week.


r20190:
Fixed Coverity issues 1561 1565 and 1678 (UNUSED_VALUES) by moving checks of return values to after the function call.


r20191:
Fixed coverity issues 643 644 and 1678 (CHECKED_RETURN).


r20232:
Addressed coverity issues 923-925.  Replaced calls to sprintf with calls
to HDsnprintf.


r20233:
Fix coverity issue 662.  Don't try to sort 0 attributes in H5Aint.c.


r20234:
Fix coverity issue 664.  Check for NULL before dereferencing in H5Gdeprec.c.


r20271:
Purpose: Fix coverity issue 784

Description: Modified H5_debug_mask() to keep a list of files opened for use as
a debugging output stream, and modified H5_term_library to close these files on
exit.


r20272:
addressed coverity issues 838 & 955.  Issue was use of strcpy() -- existing
code was safe, but modified to use strncpy() to keep coverity happy.


r20273:
Addresed coverity issues 1388 and 1389.
Initialized sel_iter->type to NULL in H5S_select_iter_init.


r20275:
Purpose: Fix valgrind issue in mf.c

Description: Fixed bug (incomplete if statement) in test_mf_fs_alloc_free() so
the retrieved node gets freed.


Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
2011-04-17 13:57:07 -05:00
..
testfiles [svn-r19782] Fix CMake testing for links_env test which requires an environment variable at test run-time. Modified runTest.cmake file to allow optional ENV_VAR and ENV_VALUE to be passed. runTest.cmake requires a reference file, added links_env.out to testfiles folder. 2010-11-15 11:35:29 -05:00
accum.c [svn-r19623] Purpose: 2010-10-18 15:46:08 -05:00
app_ref.c [svn-r17838] Description: 2009-11-05 08:45:35 -05:00
bad_compound.h5 [svn-r20513] Description: 2011-04-15 14:06:38 -05:00
be_data.h5 [svn-r20029] Purpose: Fix bug 2131 2011-02-02 09:41:49 -05:00
be_extlink1.h5
be_extlink2.h5
big.c [svn-r19817] Bug 1917: Big.c test. 2010-11-17 18:30:49 -05:00
bittests.c [svn-r20061] Description: 2011-02-07 19:53:45 -05:00
btree2.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
cache_api.c [svn-r19096] Description: 2010-07-19 05:54:51 -05:00
cache_common.c [svn-r19114] Description: 2010-07-20 13:51:24 -05:00
cache_common.h [svn-r19096] Description: 2010-07-19 05:54:51 -05:00
cache_tagging.c [svn-r19114] Description: 2010-07-20 13:51:24 -05:00
cache.c [svn-r18926] Description: 2010-05-31 13:27:33 -05:00
chunk_info.c
CMakeLists.txt [svn-r20438] Fix typo in lib name for mingw 2011-04-07 16:12:36 -05:00
cmpd_dset.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
COPYING
corrupt_stab_msg.h5 [svn-r16594] Purpose: fix bug 1189 2009-03-23 13:51:29 -05:00
cross_read.c [svn-r20029] Purpose: Fix bug 2131 2011-02-02 09:41:49 -05:00
dangle.c [svn-r19697] Description: 2010-10-29 10:31:57 -05:00
deflate.h5
dsets.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
dt_arith.c [svn-r19696] Bug 2008 - IBM Power6 Linux uses special conversion algorithms to convert some values from long 2010-10-28 14:08:31 -05:00
dtransform.c [svn-r19481] I'm backing out my fix for bug 1707 because there're some unresolved issues - r19441 and 19467. 2010-09-27 14:02:48 -05:00
dtypes.c [svn-r20513] Description: 2011-04-15 14:06:38 -05:00
earray.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
efc.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
enum.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
err_compat.c [svn-r19578] Bug fix for 1707 - H5Eset_auto causes a seg fault when an application uses -DH5_USE_16_API 2010-10-11 17:15:54 -05:00
error_test.c [svn-r19481] I'm backing out my fix for bug 1707 because there're some unresolved issues - r19441 and 19467. 2010-09-27 14:02:48 -05:00
extend.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
external.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
family_v16_00000.h5 [svn-r16759] The test of family file compatibility with v1.6 used the original family files under the 2009-04-15 16:42:02 -05:00
family_v16_00001.h5
family_v16_00002.h5
family_v16_00003.h5
farray.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
fheap.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
filespace_1_6.h5 [svn-r17582] Description: 2009-10-01 21:08:59 -05:00
filespace_1_8.h5 [svn-r17582] Description: 2009-10-01 21:08:59 -05:00
fill_old.h5
fillval.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
filter_fail.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
flush1.c
flush2.c [svn-r19481] I'm backing out my fix for bug 1707 because there're some unresolved issues - r19441 and 19467. 2010-09-27 14:02:48 -05:00
freespace.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
gen_bad_compound.c [svn-r20513] Description: 2011-04-15 14:06:38 -05:00
gen_bad_ohdr.c [svn-r18031] Description: 2009-12-17 17:21:08 -05:00
gen_bogus.c [svn-r18031] Description: 2009-12-17 17:21:08 -05:00
gen_cross.c [svn-r20029] Purpose: Fix bug 2131 2011-02-02 09:41:49 -05:00
gen_deflate.c [svn-r18030] Description: 2009-12-17 10:07:35 -05:00
gen_filespace.c [svn-r20480] Description: 2011-04-12 11:59:33 -05:00
gen_filters.c
gen_mergemsg.c
gen_new_array.c
gen_new_fill.c
gen_new_group.c
gen_new_mtime.c
gen_new_super.c
gen_noencoder.c [svn-r18030] Description: 2009-12-17 10:07:35 -05:00
gen_nullspace.c
gen_old_array.c
gen_old_group.c
gen_old_layout.c
gen_old_mtime.c
gen_sizes_lheap.c [svn-r19076] Purpose: Fix bug 1951 2010-07-16 11:32:49 -05:00
gen_specmetaread.c [svn-r17624] Description: 2009-10-08 23:09:34 -05:00
gen_udlinks.c
getname.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
gheap.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
group_old.h5
h5test.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
h5test.h [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
H5srcdir_str.h.in [svn-r18419] Description: 2010-03-18 07:23:04 -05:00
H5srcdir.h [svn-r20315] brought revisions 19868:20300 from the 1.8.6_vms branch to the trunk for VMS work 2011-03-24 13:33:45 -05:00
hyperslab.c [svn-r19272] Description: 2010-08-20 16:37:12 -05:00
istore.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
le_data.h5 [svn-r20029] Purpose: Fix bug 2131 2011-02-02 09:41:49 -05:00
le_extlink1.h5
le_extlink2.h5
lheap.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
links_env.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
links.c [svn-r20536] Description: 2011-04-17 13:57:07 -05:00
Makefile.am [svn-r20469] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. This is a follow-up checkin for r20440: 2011-04-11 10:59:41 -05:00
Makefile.in [svn-r20504] Purpose: 2011-04-14 16:21:59 -05:00
mergemsg.h5
mf.c [svn-r20536] Description: 2011-04-17 13:57:07 -05:00
mount.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
mtime.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
noencoder.h5
ntypes.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
objcopy.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
ohdr.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
pool.c [svn-r19272] Description: 2010-08-20 16:37:12 -05:00
reserved.c
set_extent.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
space_overflow.c
specmetaread.h5 [svn-r17624] Description: 2009-10-08 23:09:34 -05:00
stab.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
tarray.c [svn-r18419] Description: 2010-03-18 07:23:04 -05:00
tarrold.h5
tattr.c [svn-r19272] Description: 2010-08-20 16:37:12 -05:00
tbad_msg_count.h5
tbogus.h5
tcheck_version.c [svn-r17832] Bug fix:(sort of) 2009-11-04 17:08:49 -05:00
tchecksum.c
tconfig.c [svn-r18197] Description: 2010-01-29 23:29:13 -05:00
tcoords.c
test_filters_be.hdf5
test_filters_le.hdf5
testcheck_version.sh.in [svn-r18985] Test feature: (bugs 1919) 2010-06-08 13:22:11 -05:00
testerror.sh.in [svn-r19481] I'm backing out my fix for bug 1707 because there're some unresolved issues - r19441 and 19467. 2010-09-27 14:02:48 -05:00
testframe.c [svn-r19796] Bug 2091: remove all Metraowerks compiler code bracheted by __MWERKS__. 2010-11-16 16:40:04 -05:00
testhdf5.c [svn-r17351] Description: 2009-08-13 12:09:55 -05:00
testhdf5.h [svn-r18224] Description: 2010-02-09 17:32:28 -05:00
testlibinfo.sh.in [svn-r20504] Purpose: 2011-04-14 16:21:59 -05:00
testlinks_env.sh.in [svn-r19783] Fix to the checkin for bug #1930. 2010-11-15 14:24:46 -05:00
testmeta.c
tfile.c [svn-r20262] In my previous checkin (20255), I used H5Gcreate instead of H5Gcreate2 in my test. I just corrected it 2011-03-16 15:08:34 -05:00
tgenprop.c [svn-r18346] Description: 2010-02-27 15:08:03 -05:00
th5o.c [svn-r20535] Description: 2011-04-17 00:20:49 -05:00
th5s.c [svn-r20496] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. I made a change in H5Sset_extent_simple to 2011-04-14 12:24:03 -05:00
th5s.h5
theap.c [svn-r17980] Description: 2009-12-10 07:36:56 -05:00
tid.c [svn-r19398] Descriptino: 2010-09-16 09:02:19 -05:00
titerate.c
tlayouto.h5
tmeta.c
tmisc.c [svn-r18650] Description: 2010-04-27 17:15:14 -05:00
tmtimen.h5
tmtimeo.h5
trefer.c [svn-r19237] Description: 2010-08-12 16:11:00 -05:00
trefstr.c [svn-r18388] Description: 2010-03-06 16:19:57 -05:00
tselect.c [svn-r19472] Description: 2010-09-23 10:03:42 -05:00
tsizeslheap.h5 [svn-r19076] Purpose: Fix bug 1951 2010-07-16 11:32:49 -05:00
tskiplist.c [svn-r17980] Description: 2009-12-10 07:36:56 -05:00
tsohm.c [svn-r19272] Description: 2010-08-20 16:37:12 -05:00
ttime.c
ttsafe_acreate.c [svn-r19367] Purpose: 2010-09-10 11:15:34 -05:00
ttsafe_cancel.c [svn-r19367] Purpose: 2010-09-10 11:15:34 -05:00
ttsafe_dcreate.c [svn-r19367] Purpose: 2010-09-10 11:15:34 -05:00
ttsafe_error.c [svn-r19481] I'm backing out my fix for bug 1707 because there're some unresolved issues - r19441 and 19467. 2010-09-27 14:02:48 -05:00
ttsafe.c [svn-r19367] Purpose: 2010-09-10 11:15:34 -05:00
ttsafe.h [svn-r19367] Purpose: 2010-09-10 11:15:34 -05:00
ttst.c [svn-r17980] Description: 2009-12-10 07:36:56 -05:00
tunicode.c [svn-r17980] Description: 2009-12-10 07:36:56 -05:00
tvlstr.c [svn-r20536] Description: 2011-04-17 13:57:07 -05:00
tvltypes.c [svn-r17351] Description: 2009-08-13 12:09:55 -05:00
unlink.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
vfd.c [svn-r20462] The basic STDIO VFD test in test/vfd.c fails on 64-bit Solaris 5.10 (SPARC) and 32-bit Darwin 10.7.0 (Intel). This check-in skips the STDIO test on all platforms while we investigate. 2011-04-10 16:05:57 -05:00
vms_data.h5 [svn-r20029] Purpose: Fix bug 2131 2011-02-02 09:41:49 -05:00