summaryrefslogtreecommitdiffstats
path: root/test/tmisc.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/tmisc.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/tmisc.c')
-rw-r--r--test/tmisc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index a0e8486..3e545c1 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -515,15 +515,14 @@ test_misc4(void)
CHECK(ret, FAIL, "H5Gget_objinfo");
/* Verify that the fileno values are the same for groups from file1 */
- VERIFY(stat1.fileno[0],stat2.fileno[0],"H5Gget_objinfo");
- VERIFY(stat1.fileno[1],stat2.fileno[1],"H5Gget_objinfo");
+ VERIFY(stat1.fileno,stat2.fileno,"H5Gget_objinfo");
/* Verify that the fileno values are not the same between file1 & file2 */
- if(stat1.fileno[0]==stat3.fileno[0] && stat1.fileno[1]==stat3.fileno[1]) {
+ if(stat1.fileno==stat3.fileno) {
num_errs++;
printf("Error on line %d: stat1.fileno==stat3.fileno\n",__LINE__);
} /* end if */
- if(stat2.fileno[0]==stat3.fileno[0] && stat2.fileno[1]==stat3.fileno[1]) {
+ if(stat2.fileno==stat3.fileno) {
num_errs++;
printf("Error on line %d: stat1.fileno==stat3.fileno\n",__LINE__);
} /* end if */