[svn-r24234] Bug: tfile.c was failing in the ADA AIX system.

The reason was typo in the index variable in the newly added test_get_obj_ids().

Solution: fixed the typo.

Tested: AIX machine. (Did not run h5committest because the fix is in a remote
machine and the fix is quite obvious.)
This commit is contained in:
Albert Cheng 2013-09-30 18:11:13 -05:00
parent 7171c08a88
commit 7fcd636cb3

View File

@ -994,7 +994,7 @@ test_get_obj_ids(void)
for(n = 0; n < NDSETS; n++) {
sprintf(dname, "dataset%d", n);
dset[n] = H5Dcreate2(fid, dname, H5T_NATIVE_INT, filespace, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
CHECK(dset[m], FAIL, "H5Dcreate2");
CHECK(dset[n], FAIL, "H5Dcreate2");
}
/* The number of opened objects should be NGROUPS + NDSETS + 1. One is opened file. */