summaryrefslogtreecommitdiffstats
path: root/test/mount.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:25:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:25:18 (GMT)
commit95bf191857663a68e37e7bd78122fd681dbb9724 (patch)
treeb313ebac701d73609deed77d65a7df3b5432f71c /test/mount.c
parenta89594728adfd0b3aded473b44565c5e5e5dcd18 (diff)
downloadhdf5-95bf191857663a68e37e7bd78122fd681dbb9724.zip
hdf5-95bf191857663a68e37e7bd78122fd681dbb9724.tar.gz
hdf5-95bf191857663a68e37e7bd78122fd681dbb9724.tar.bz2
[svn-r7320] Purpose:
Refactored code Description: Chase changes for the 'fileno' and 'objno' fields in H5G_stat_t Platforms tested: h5committested
Diffstat (limited to 'test/mount.c')
-rw-r--r--test/mount.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/mount.c b/test/mount.c
index 367a33b..7c71967 100644
--- a/test/mount.c
+++ b/test/mount.c
@@ -274,8 +274,7 @@ test_hide(hid_t fapl)
* other names. This is a rather stupid test but demonstrates a point.
*/
if (H5Gget_objinfo(file1, "/file1", TRUE, &sb2)<0) goto error;
- if (sb1.fileno[0]!=sb2.fileno[0] || sb1.fileno[1]!=sb2.fileno[1] ||
- sb1.objno[0]!=sb2.objno[0] || sb1.objno[1]!=sb2.objno[1]) {
+ if (sb1.fileno!=sb2.fileno || sb1.objno!=sb2.objno) {
H5_FAILED();
puts(" Hard link failed for hidden object.");
goto error;
@@ -342,8 +341,7 @@ test_assoc(hid_t fapl)
* of file2.
*/
if (H5Gget_objinfo(file1, "/mnt1", TRUE, &sb2)<0) goto error;
- if (sb1.fileno[0]!=sb2.fileno[0] || sb1.fileno[1]!=sb2.fileno[1] ||
- sb1.objno[0]!=sb2.objno[0] || sb1.objno[1]!=sb2.objno[1]) {
+ if (sb1.fileno!=sb2.fileno || sb1.objno!=sb2.objno) {
H5_FAILED();
puts(" Association failed.");
goto error;