summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2009-05-11 17:19:01 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2009-05-11 17:19:01 (GMT)
commitffed17cb9cd8460dc08affa87cabc34effd12746 (patch)
tree2348fe762243e3086ff1210127d178b8ea181253 /hl
parent2950d50df4f3ef35908e85874ee03be9770e8b6b (diff)
downloadhdf5-ffed17cb9cd8460dc08affa87cabc34effd12746.zip
hdf5-ffed17cb9cd8460dc08affa87cabc34effd12746.tar.gz
hdf5-ffed17cb9cd8460dc08affa87cabc34effd12746.tar.bz2
[svn-r16935] Description:
Added test for H5LTget_dataset_ndims Tested: smirom
Diffstat (limited to 'hl')
-rw-r--r--hl/test/test_lite.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hl/test/test_lite.c b/hl/test/test_lite.c
index 8c9fb30..4bde763 100644
--- a/hl/test/test_lite.c
+++ b/hl/test/test_lite.c
@@ -99,6 +99,9 @@ static int test_dsets( void )
if ( H5Dread ( dataset_id, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, data_int_out ) < 0 )
goto out;
+ if ( H5LTget_dataset_ndims(file_id, DSET0_NAME, &rank ))
+ goto out;
+
if ( H5Dclose( dataset_id ) < 0 )
goto out;