diff options
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r-- | test/tvlstr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c index a0eedc6..a758a9e 100644 --- a/test/tvlstr.c +++ b/test/tvlstr.c @@ -680,8 +680,8 @@ static void test_read_vl_string_attribute(void) CHECK(root, FAIL, "H5Gopen2"); /* Test reading "normal" sized string attribute */ - att = H5Aopen_name(root, "test_scalar"); - CHECK(att, FAIL, "H5Aopen_name"); + att = H5Aopen(root, ".", "test_scalar", H5P_DEFAULT, H5P_DEFAULT); + CHECK(att, FAIL, "H5Aopen"); ret = H5Aread(att, type, &string_att_check); CHECK(ret, FAIL, "H5Aread"); @@ -695,8 +695,8 @@ static void test_read_vl_string_attribute(void) CHECK(ret, FAIL, "HAclose"); /* Test reading "large" sized string attribute */ - att = H5Aopen_name(root, "test_scalar_large"); - CHECK(att, FAIL, "H5Aopen_name"); + att = H5Aopen(root, ".", "test_scalar_large", H5P_DEFAULT, H5P_DEFAULT); + CHECK(att, FAIL, "H5Aopen"); ret = H5Aread(att, type, &string_att_check); CHECK(ret, FAIL, "H5Aread"); |