diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2007-01-02 02:17:36 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2007-01-02 02:17:36 (GMT) |
commit | 8e27c898881ac22fb61737edc769fa3cf5372d4e (patch) | |
tree | 5a28fcdadf0a4e31106d8d451c45ec41589931df /c++/test/tattr.cpp | |
parent | e5fff45c0909d91912ee6455c0522ca5112b28a3 (diff) | |
download | hdf5-8e27c898881ac22fb61737edc769fa3cf5372d4e.zip hdf5-8e27c898881ac22fb61737edc769fa3cf5372d4e.tar.gz hdf5-8e27c898881ac22fb61737edc769fa3cf5372d4e.tar.bz2 |
[svn-r13093] Purpose: Adding test
Description:
Added variable-length string tests.
Platforms tested
AIX 5.1 (copper)
SunOS 5.8 64-bit (sol)
Linux 2.6 (kagiso)
Diffstat (limited to 'c++/test/tattr.cpp')
-rw-r--r-- | c++/test/tattr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/tattr.cpp b/c++/test/tattr.cpp index df9309c..08eef83 100644 --- a/c++/test/tattr.cpp +++ b/c++/test/tattr.cpp @@ -1104,7 +1104,7 @@ test_attr_dtype_shared(void) DataSet *dset2 = new DataSet (fid1.openDataSet(DSET1_NAME)); // Open attribute - Attribute *attr2 = new Attribute (dset.openAttribute(ATTR1_NAME)); + Attribute *attr2 = new Attribute (dset2->openAttribute(ATTR1_NAME)); // Read data from the attribute attr2->read(PredType::NATIVE_INT, &rdata); |