hdf5/test
Quincey Koziol 5b876c929f [svn-r24101] Description:
Clean up warnings, enable new compiler warning flag(s) and bring back
changes from Coverity branch:

r20813:
Remove the dead code as listed for coverity bug #1722. h5committested.

r20814:
Issue 69: Check return value and throw error if negative return. Also free datatype id on error

r20815:
Use HDstrncpy. --gh

r20816:
Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832.

r20817:
Use HDstrncpy and HDstrncat. --gh

r20818:
Purpose: Fix valgrind issues with h5jam

Description:
Modified h5jam to free strings strdup'd in parse_command_line before exit. Note
that they may still not be freed in case of error, due to the widespread use of
exit().

r20819:
Issue 80: change loop to use int as loop index.

r20820:
Maintenance: Fixed the bug found by coverity CID 788
There were two problems with this function:
    1) it tried to unnecessary free NULL pointer
    2) it tried to allocate c_name buffer that is done by H5Pget_class_name


Tested on:
    Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN
    (too minor to require h5committest)
2013-09-05 15:44:14 -05:00
..
testfiles [svn-r23017] I added a prototype function H5DOwrite_chunk in HL library for Dectris people to test performance. The library's API function H5PSIdirect_write 2012-11-07 12:08:46 -05:00
accum.c [svn-r23219] Description: 2013-02-01 20:53:32 -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-r20855] Issue 2599 - Cross-test BE and LE data. I added the test for deflate, szip, fletcher32, shuffle and nbit filter in cross_read.c and gen_cross.c. I also took out the data file for OpenVMS because the data isn't native but IEEE for floating-numbers. 2011-05-17 17:18:05 -05:00
be_extlink1.h5
be_extlink2.h5
big.c [svn-r23984] Merged 2 23932 from reduced_warnings branch: 2013-08-09 15:42:27 -05:00
bittests.c [svn-r22287] Description: 2012-04-16 16:20:26 -05:00
btree2.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
cache_api.c [svn-r24030] Description: 2013-08-19 17:13:15 -05:00
cache_common.c [svn-r22646] Description: 2012-08-08 18:01:20 -05:00
cache_common.h [svn-r24020] Description: 2013-08-17 15:05:27 -05:00
cache_tagging.c [svn-r22676] Changes needed to make the default free-list mapping from H5FD_FLMAP_SINGLE to H5FD_FLMAP_DICHOTOMY. 2012-08-13 15:04:20 -05:00
cache.c [svn-r24020] Description: 2013-08-17 15:05:27 -05:00
chunk_info.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
CMakeLists.txt [svn-r24097] Correct indentation 2013-09-04 14:58:45 -05:00
CMakeTests.cmake [svn-r24056] Move make_executable commands back from tests file 2013-08-22 13:41:25 -05:00
cmpd_dset.c [svn-r22287] Description: 2012-04-16 16:20:26 -05:00
COPYING [svn-r22110] Removed incorrect 'executable' svn properties. 2012-03-21 14:50:28 -05:00
corrupt_stab_msg.h5 [svn-r22110] Removed incorrect 'executable' svn properties. 2012-03-21 14:50:28 -05:00
cross_read.c [svn-r22110] Removed incorrect 'executable' svn properties. 2012-03-21 14:50:28 -05:00
dangle.c [svn-r19697] Description: 2010-10-29 10:31:57 -05:00
deflate.h5
dsets.c [svn-r24101] Description: 2013-09-05 15:44:14 -05:00
dt_arith.c [svn-r24011] Description: 2013-08-15 08:24:28 -05:00
dtransform.c [svn-r24030] Description: 2013-08-19 17:13:15 -05:00
dtypes.c [svn-r24101] Description: 2013-09-05 15:44:14 -05:00
dynlib1.c [svn-r23549] Description: 2013-04-04 15:57:59 -05:00
dynlib2.c [svn-r23984] Merged 2 23932 from reduced_warnings branch: 2013-08-09 15:42:27 -05:00
dynlib3.c [svn-r23984] Merged 2 23932 from reduced_warnings branch: 2013-08-09 15:42:27 -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
enc_dec_plist_with_endianess.c [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
enc_dec_plist.c [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
enum.c [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -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-r20971] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. The previous way to construct the name of the existent data file wasn't very safe. It could be cleaned up if any user builds the library in the source directory. 2011-06-13 16:28:49 -05:00
extend.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
external.c [svn-r22287] Description: 2012-04-16 16:20:26 -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 [svn-r14340] Maintenance for VMS system: 2007-12-13 13:17:02 -05:00
family_v16_00002.h5 [svn-r14340] Maintenance for VMS system: 2007-12-13 13:17:02 -05:00
family_v16_00003.h5 [svn-r14340] Maintenance for VMS system: 2007-12-13 13:17:02 -05:00
farray.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
fheap.c [svn-r22233] Description: 2012-04-01 18:53:17 -05:00
file_image_core_test.h5 [svn-r22219] Description: 2012-03-31 03:49:35 -05:00
file_image.c [svn-r23691] Fix valgrind leak by closing fapl 2013-05-09 09:56:18 -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-r23667] Removed H5E call. 2013-05-03 10:39:44 -05:00
filter_error.h5 [svn-r20930] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. When I checked in the fix and test (revision 20929), I forgot to add the data file test/filter_error.h5. 2011-06-03 14:59:34 -05:00
filter_fail.c [svn-r23984] Merged 2 23932 from reduced_warnings branch: 2013-08-09 15:42:27 -05:00
flush1.c [svn-r15868] Description: 2008-10-14 20:46:34 -05:00
flush2.c [svn-r21366] JIRA HDFFV-2748 replace use of _WIN32 in source. Created new defines H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines to use. These can be properly set during configurration. 2011-09-06 11:50:32 -05:00
freespace.c [svn-r22646] Description: 2012-08-08 18:01:20 -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-r24030] Description: 2013-08-19 17:13:15 -05:00
gen_deflate.c [svn-r18030] Description: 2009-12-17 10:07:35 -05:00
gen_file_image.c [svn-r22219] Description: 2012-03-31 03:49:35 -05:00
gen_filespace.c [svn-r20480] Description: 2011-04-12 11:59:33 -05:00
gen_filters.c [svn-r20929] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. The fix is simple. Most of the effort is on the test. The file with filter enabled is created in gen_filter.c. The verification of the error message is in test_error.c. The output is compared against the standard output. 2011-06-03 10:58:49 -05:00
gen_mergemsg.c [svn-r14222] Description: 2007-10-30 15:37:39 -05:00
gen_new_array.c [svn-r14212] Description: 2007-10-18 17:02:19 -05:00
gen_new_fill.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
gen_new_group.c [svn-r14413] Description: 2008-01-14 18:49:12 -05:00
gen_new_mtime.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
gen_new_super.c
gen_noencoder.c [svn-r18030] Description: 2009-12-17 10:07:35 -05:00
gen_nullspace.c [svn-r14218] Description: 2007-10-30 13:13:48 -05:00
gen_old_array.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
gen_old_group.c [svn-r14104] Description: 2007-08-23 15:25:25 -05:00
gen_old_layout.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
gen_old_mtime.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
gen_plist.c [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
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 [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
getname.c [svn-r21923] Description: 2012-02-09 21:16:52 -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-r23695] Description: 2013-05-11 10:59:48 -05:00
h5test.h [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
H5srcdir_str.h.in [svn-r18419] Description: 2010-03-18 07:23:04 -05:00
H5srcdir.h [svn-r23695] Description: 2013-05-11 10:59:48 -05:00
hyperslab.c [svn-r19272] Description: 2010-08-20 16:37:12 -05:00
istore.c [svn-r22161] Added a message when the time-consuming test is skipped due to a lack of sparse file support. 2012-03-27 16:49:08 -05:00
le_data.h5 [svn-r20855] Issue 2599 - Cross-test BE and LE data. I added the test for deflate, szip, fletcher32, shuffle and nbit filter in cross_read.c and gen_cross.c. I also took out the data file for OpenVMS because the data isn't native but IEEE for floating-numbers. 2011-05-17 17:18:05 -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-r23713] Description: 2013-05-21 12:30:54 -05:00
links.c [svn-r23812] Added the HD prefix to the system functions used in the links.c file. 2013-06-24 15:02:42 -05:00
Makefile.am [svn-r23656] Issue 8380 H5Zunregister caused seg fault: I added some protection measures: 2013-04-29 14:23:04 -05:00
Makefile.in [svn-r23656] Issue 8380 H5Zunregister caused seg fault: I added some protection measures: 2013-04-29 14:23:04 -05:00
mergemsg.h5
mf.c [svn-r24020] Description: 2013-08-17 15:05:27 -05:00
mount.c [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
mtime.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
multi_file_v16-r.h5 [svn-r21015] Bug fix for Issue 2598 - In v1.6 library, there was EOA for the whole MULTI file saved in the 2011-06-22 10:47:57 -05:00
multi_file_v16-s.h5 [svn-r21015] Bug fix for Issue 2598 - In v1.6 library, there was EOA for the whole MULTI file saved in the 2011-06-22 10:47:57 -05:00
noencoder.h5 [svn-r15037] Description: 2008-05-19 01:03:16 -05:00
ntypes.c [svn-r22646] Description: 2012-08-08 18:01:20 -05:00
objcopy.c [svn-r24020] Description: 2013-08-17 15:05:27 -05:00
ohdr.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
plugin.c [svn-r23549] Description: 2013-04-04 15:57:59 -05:00
pool.c [svn-r19272] Description: 2010-08-20 16:37:12 -05:00
reserved.c [svn-r22110] Removed incorrect 'executable' svn properties. 2012-03-21 14:50:28 -05:00
set_extent.c [svn-r20529] Purpose: Add testing for bug 1864 2011-04-15 17:05:23 -05:00
space_overflow.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
specmetaread.h5 [svn-r17624] Description: 2009-10-08 23:09:34 -05:00
stab.c [svn-r23219] Description: 2013-02-01 20:53:32 -05:00
tarray.c [svn-r24020] Description: 2013-08-17 15:05:27 -05:00
tarrold.h5
tattr.c [svn-r22072] Purpose: Fix rare corruption bug (HDFFV-7879) 2012-03-15 14:16:24 -05:00
tbad_msg_count.h5 [svn-r14402] Description: 2008-01-13 00:37:00 -05:00
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 [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
test_filters_be.h5 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
test_filters_le.h5 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
test_plugin.sh.in [svn-r23536] I corrected the copyright information and added some comment in H5Pocpl.c. 2013-04-03 14:15:13 -05:00
testcheck_version.sh.in [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files. 2012-08-23 11:07:43 -05:00
testerror.sh.in [svn-r23432] I added a new macro HDF5_PLUGIN_PRELOAD to skip plugin loading during data reading. 2013-03-22 16:39:53 -05:00
testframe.c [svn-r23529] Description: 2013-04-02 21:50:50 -05:00
testhdf5.c [svn-r17351] Description: 2009-08-13 12:09:55 -05:00
testhdf5.h [svn-r23347] ported revision 23248:23346 from the trunk 2013-03-13 17:34:23 -05:00
testlibinfo.sh.in [svn-r23347] ported revision 23248:23346 from the trunk 2013-03-13 17:34:23 -05:00
testlinks_env.sh.in [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files. 2012-08-23 11:07:43 -05:00
testmeta.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
tfile.c [svn-r23354] Close prop list var 2013-03-15 10:26:55 -05:00
tgenprop.c [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
th5o.c [svn-r23347] ported revision 23248:23346 from the trunk 2013-03-13 17:34:23 -05:00
th5s.c [svn-r23347] ported revision 23248:23346 from the trunk 2013-03-13 17:34:23 -05:00
th5s.h5
theap.c [svn-r17980] Description: 2009-12-10 07:36:56 -05:00
tid.c [svn-r22582] Description: 2012-07-16 14:54:26 -05:00
titerate.c [svn-r14413] Description: 2008-01-14 18:49:12 -05:00
tlayouto.h5
tmeta.c
tmisc.c [svn-r22287] Description: 2012-04-16 16:20:26 -05:00
tmtimen.h5
tmtimeo.h5
trefer.c [svn-r24020] Description: 2013-08-17 15:05:27 -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-r21603] Purpose: Add generic skip list implementation 2011-10-18 16:27:58 -05:00
tsohm.c [svn-r23347] ported revision 23248:23346 from the trunk 2013-03-13 17:34:23 -05:00
ttime.c [svn-r14199] Description: 2007-10-11 11:24:11 -05:00
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-r24030] Description: 2013-08-19 17:13:15 -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-r22646] Description: 2012-08-08 18:01:20 -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-r21923] Description: 2012-02-09 21:16:52 -05:00
unregister.c [svn-r23685] Issue 8380 H5Zunregister caused seg fault. I simplied the iteration process over datasets, groups, and files as Quincey suggested. I also removed H5I_search that I introduced in last commit but didn't actually used it. 2013-05-08 11:36:58 -05:00
vfd.c [svn-r23219] Description: 2013-02-01 20:53:32 -05:00