summaryrefslogtreecommitdiffstats
path: root/c++/test/tattr.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-02 02:17:36 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-02 02:17:36 (GMT)
commit8e27c898881ac22fb61737edc769fa3cf5372d4e (patch)
tree5a28fcdadf0a4e31106d8d451c45ec41589931df /c++/test/tattr.cpp
parente5fff45c0909d91912ee6455c0522ca5112b28a3 (diff)
downloadhdf5-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.cpp2
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);