diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-05-17 05:42:31 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-05-17 05:42:31 (GMT) |
commit | 683cc579ea99564c4ce328614d645b10e00f1bc4 (patch) | |
tree | a95ebac16ed28ce68c630adb172bf9dedde76003 /test/unlink.c | |
parent | eddcc2f800db71d4c4309f74f57ed58ae7854727 (diff) | |
download | hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.zip hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.tar.gz hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.tar.bz2 |
Misc library test changes from develop.
Diffstat (limited to 'test/unlink.c')
-rw-r--r-- | test/unlink.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/unlink.c b/test/unlink.c index 6825dec..89c59c3 100644 --- a/test/unlink.c +++ b/test/unlink.c @@ -433,15 +433,15 @@ test_new_move(hid_t fapl) static int check_new_move(hid_t fapl) { - hid_t file; - H5O_info_t oi_hard1, oi_hard2; - char filename[1024]; - char linkval[1024]; + H5O_info_t oi_hard1, oi_hard2; + hid_t file; + char filename[1024]; + char linkval[1024]; TESTING("check new move function"); /* Open file */ - h5_fixname(FILENAME[1], fapl, filename, sizeof filename); + h5_fixname(FILENAME[1], fapl, filename, sizeof(filename)); if((file = H5Fopen(filename, H5F_ACC_RDONLY, fapl)) < 0) FAIL_STACK_ERROR @@ -458,7 +458,7 @@ check_new_move(hid_t fapl) FAIL_PUTS_ERROR(" Hard link test failed. Link seems not to point to the expected file location.") /* Check soft links */ - if(H5Lget_val(file, "group2/soft", linkval, sizeof linkval, H5P_DEFAULT) < 0) + if(H5Lget_val(file, "group2/soft", linkval, sizeof(linkval), H5P_DEFAULT) < 0) FAIL_STACK_ERROR if(HDstrcmp(linkval, "/group1/group_move")) FAIL_PUTS_ERROR(" Soft link test failed. Wrong link value") @@ -2156,7 +2156,7 @@ test_full_group_compact(hid_t fapl) { hid_t file_id = -1; hid_t gid = -1, gid2 = -1; /* Group IDs */ - H5O_info_t oi; /* Stat buffer for object */ + H5O_info_t oi; /* Stat buffer for object */ char objname[128]; /* Buffer for name of objects to create */ char objname2[128]; /* Buffer for name of objects to create */ char filename[1024]; /* Buffer for filename */ @@ -2290,7 +2290,7 @@ test_full_group_dense(hid_t fapl) hid_t file_id = -1; hid_t gcpl = (-1); /* Group creation property list ID */ hid_t gid = -1, gid2 = -1; /* Group IDs */ - H5O_info_t oi; /* Stat buffer for object */ + H5O_info_t oi; /* Stat buffer for object */ char objname[128]; /* Buffer for name of objects to create */ char objname2[128]; /* Buffer for name of objects to create */ char filename[1024]; /* Buffer for filename */ |