diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-12-17 14:07:41 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-12-17 14:07:41 (GMT) |
commit | cd7b4b8b90adc487f9cd4ee05f2425eeb5f7f84d (patch) | |
tree | d8f78540c20e8e338086b4bcb0d07374baf7d165 /tools/h5repack/testh5repack_dset.c | |
parent | 52a46001cbeeb902d0fe7779ddcbbf0da0907c15 (diff) | |
download | hdf5-cd7b4b8b90adc487f9cd4ee05f2425eeb5f7f84d.zip hdf5-cd7b4b8b90adc487f9cd4ee05f2425eeb5f7f84d.tar.gz hdf5-cd7b4b8b90adc487f9cd4ee05f2425eeb5f7f84d.tar.bz2 |
[svn-r7966] Purpose:
h5repack new features
Description:
added debugging functions and a hard link generated dataset for the test suite
Solution:
Platforms tested:
linux
solaris 2.7
IRIX
Misc. update:
Diffstat (limited to 'tools/h5repack/testh5repack_dset.c')
-rw-r--r-- | tools/h5repack/testh5repack_dset.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5repack/testh5repack_dset.c b/tools/h5repack/testh5repack_dset.c index e5fe500..88363f7 100644 --- a/tools/h5repack/testh5repack_dset.c +++ b/tools/h5repack/testh5repack_dset.c @@ -168,6 +168,10 @@ void write_dset_in(hid_t loc_id, write_dset(loc_id,1,dims,"string",type_id,buf1); status = H5Tclose(type_id); + + /* create hard link */ + status = H5Glink(loc_id, H5G_LINK_HARD, "string", "string_link"); + /*------------------------------------------------------------------------- * H5T_BITFIELD *------------------------------------------------------------------------- |