diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2002-11-07 15:57:53 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2002-11-07 15:57:53 (GMT) |
commit | 2c78145f74f5aab70fdd3f81106fca6a0dfc4b16 (patch) | |
tree | 2ac2928cd285fb09c688ce95dac062bbb90e16ae /test/external.c | |
parent | a9dea215ed696c1523fec79b4175b571600dca77 (diff) | |
download | hdf5-2c78145f74f5aab70fdd3f81106fca6a0dfc4b16.zip hdf5-2c78145f74f5aab70fdd3f81106fca6a0dfc4b16.tar.gz hdf5-2c78145f74f5aab70fdd3f81106fca6a0dfc4b16.tar.bz2 |
[svn-r6062]
Purpose:
New function.
Description:
H5Dget_offset returns the offset of a dataset's data relative to the
beginning of a file.
Platforms tested:
arabica(simple function, one test should be enough.)
Misc. update:
RELEASE.txt
Diffstat (limited to 'test/external.c')
-rw-r--r-- | test/external.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/external.c b/test/external.c index dfb11b1..f558fe0 100644 --- a/test/external.c +++ b/test/external.c @@ -109,6 +109,10 @@ test_1a(hid_t file) /* Read dataset creation information */ if ((dset = H5Dopen (file, "dset1"))<0) goto error; + + /* Test dataset address. Should be undefined. */ + if (H5Dget_offset(dset)!=HADDR_UNDEF) goto error; + if ((dcpl = H5Dget_create_plist (dset))<0) goto error; if ((n=H5Pget_external_count (dcpl))<0) goto error; if (1!=n) { |