summaryrefslogtreecommitdiffstats
path: root/test/getname.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-08-28 22:45:23 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-08-28 22:45:23 (GMT)
commitbc07e61d2937d1e62e0fc1fec10f54ed9647fa3b (patch)
treee4086a55da2a8a48e36eee285d7504502b73d83d /test/getname.c
parentcae55b647da56ab390e048219efaef6a1afdccee (diff)
downloadhdf5-bc07e61d2937d1e62e0fc1fec10f54ed9647fa3b.zip
hdf5-bc07e61d2937d1e62e0fc1fec10f54ed9647fa3b.tar.gz
hdf5-bc07e61d2937d1e62e0fc1fec10f54ed9647fa3b.tar.bz2
[svn-r14123] Description:
Move H5Gmove2() to deprecated code section, replacing it with H5Lmove() in the source code. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew) Mac OS X/32 10.4.10 (amazon)
Diffstat (limited to 'test/getname.c')
-rw-r--r--test/getname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/getname.c b/test/getname.c
index 51934fe..2012d57 100644
--- a/test/getname.c
+++ b/test/getname.c
@@ -475,13 +475,13 @@ test_main(hid_t file_id, hid_t fapl)
if(check_name(group3_id, "/g5/C/D", "/g5/C/D") < 0) TEST_ERROR
/* Move group "/g5/C/D" back to "/g4/A/B" using relative name */
- if(H5Gmove2(group5_id, "D", group2_id, "B") < 0) FAIL_STACK_ERROR
+ if(H5Lmove(group5_id, "D", group2_id, "B", H5P_DEFAULT, H5P_DEFAULT) < 0) FAIL_STACK_ERROR
/* Verify */
if(check_name(group3_id, "/g4/A/B", "/g4/A/B") < 0) TEST_ERROR
/* Move group "/g4/A/B" to "/g4/F/B" using relative name */
- if(H5Gmove2(group_id, "A", group_id, "F") < 0) FAIL_STACK_ERROR
+ if(H5Lmove(group_id, "A", group_id, "F", H5P_DEFAULT, H5P_DEFAULT) < 0) FAIL_STACK_ERROR
/* Verify */
if(check_name(group3_id, "/g4/F/B", "/g4/F/B") < 0) TEST_ERROR