summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2013-09-30 23:11:13 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2013-09-30 23:11:13 (GMT)
commit7fcd636cb37e493665191af5fbc876a6a012158a (patch)
tree3fb46904d241df22734bfe2b275b41231af9278b
parent7171c08a8895ff2b88ea088ceb5d420ea4731e45 (diff)
downloadhdf5-7fcd636cb37e493665191af5fbc876a6a012158a.zip
hdf5-7fcd636cb37e493665191af5fbc876a6a012158a.tar.gz
hdf5-7fcd636cb37e493665191af5fbc876a6a012158a.tar.bz2
[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.)
-rw-r--r--test/tfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 556ccd3..6c0eba4 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -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. */