summaryrefslogtreecommitdiffstats
path: root/test/gen_mergemsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_mergemsg.c')
-rw-r--r--test/gen_mergemsg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/gen_mergemsg.c b/test/gen_mergemsg.c
index b7d07d2..5850f04 100644
--- a/test/gen_mergemsg.c
+++ b/test/gen_mergemsg.c
@@ -91,7 +91,7 @@ int main()
assert(ret >= 0);
/* Add 1st attribute on first group */
- aid = H5Acreate(gid, ATTR1, tid, sid, H5P_DEFAULT);
+ aid = H5Acreate2(gid, ".", ATTR1, tid, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
assert(aid > 0);
/* Close dataspace */
@@ -117,7 +117,7 @@ int main()
assert(ret >= 0);
/* Add 2nd attribute on first group */
- aid = H5Acreate(gid, ATTR2, tid, sid, H5P_DEFAULT);
+ aid = H5Acreate2(gid, ".", ATTR2, tid, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
assert(aid > 0);
/* Close dataspace */
@@ -191,7 +191,7 @@ int main()
assert(ret >= 0);
/* Add 3rd attribute on first group (smaller than 2nd attribute) */
- aid = H5Acreate(gid, ATTR3, tid, sid, H5P_DEFAULT);
+ aid = H5Acreate2(gid, ".", ATTR3, tid, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
assert(aid > 0);
/* Close dataspace */
@@ -239,7 +239,7 @@ int main()
assert(ret >= 0);
/* Re-create 2nd attribute on first group */
- aid = H5Acreate(gid, ATTR2, tid, sid, H5P_DEFAULT);
+ aid = H5Acreate2(gid, ".", ATTR2, tid, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
assert(aid > 0);
/* Close dataspace */
@@ -303,7 +303,7 @@ int main()
assert(ret >= 0);
/* Re-create 2nd attribute on first group */
- aid = H5Acreate(gid, ATTR2, tid, sid, H5P_DEFAULT);
+ aid = H5Acreate2(gid, ".", ATTR2, tid, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
assert(aid > 0);
/* Close dataspace */