summaryrefslogtreecommitdiffstats
path: root/test/mount.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-08-28 19:53:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-08-28 19:53:40 (GMT)
commitd329016e66520c6c8f18d67bdf6ac83492c420f4 (patch)
tree80c4180c908376d05d145b364b66fd752dc87540 /test/mount.c
parenta84811bfb889762150014188680fad0ce05877ba (diff)
downloadhdf5-d329016e66520c6c8f18d67bdf6ac83492c420f4.zip
hdf5-d329016e66520c6c8f18d67bdf6ac83492c420f4.tar.gz
hdf5-d329016e66520c6c8f18d67bdf6ac83492c420f4.tar.bz2
[svn-r14118] Description:
Fix inverted link parameters in setup() routine. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Solaris/32 5.10 (linew)
Diffstat (limited to 'test/mount.c')
-rw-r--r--test/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mount.c b/test/mount.c
index 7ac362e..c52bdba 100644
--- a/test/mount.c
+++ b/test/mount.c
@@ -71,8 +71,8 @@ setup(hid_t fapl)
if(H5Gclose(H5Gcreate2(file, "/mnt1/file1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
if(H5Gclose(H5Gcreate2(file, "/mnt_unlink", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
if(H5Gclose(H5Gcreate2(file, "/mnt_move_a", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
- if(H5Lcreate_hard(file, "/file1", H5L_SAME_LOC, "/mnt1/file1", H5P_DEFAULT, H5P_DEFAULT) < 0) FAIL_STACK_ERROR
- if(H5Lcreate_hard(file, "/mnt1_link", H5L_SAME_LOC, "/mnt1", H5P_DEFAULT, H5P_DEFAULT) < 0) FAIL_STACK_ERROR
+ if(H5Lcreate_hard(file, "/mnt1/file1", H5L_SAME_LOC, "/file1", H5P_DEFAULT, H5P_DEFAULT) < 0) FAIL_STACK_ERROR
+ if(H5Lcreate_hard(file, "/mnt1", H5L_SAME_LOC, "/mnt1_link", H5P_DEFAULT, H5P_DEFAULT) < 0) FAIL_STACK_ERROR
if(H5Fclose(file) < 0) FAIL_STACK_ERROR
/* file 2 */