summaryrefslogtreecommitdiffstats
path: root/test/tmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tmisc.c')
-rw-r--r--test/tmisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index 539229b..b36a6c4 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -4725,8 +4725,8 @@ test_misc25c(void)
CHECK(gid, FAIL, "H5Gopen2");
/* Rename the dataset */
- ret = H5Gmove(gid, MISC25C_DSETNAME, MISC25C_DSETNAME2);
- CHECK(ret, FAIL, "H5Gmove");
+ ret = H5Lmove(gid, MISC25C_DSETNAME, H5L_SAME_LOC, MISC25C_DSETNAME2, H5P_DEFAULT, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Lmove");
/* Delete the first attribute */
ret = H5Adelete(gid, MISC25C_ATTRNAME);