From 7fcd636cb37e493665191af5fbc876a6a012158a Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 30 Sep 2013 18:11:13 -0500 Subject: [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.) --- test/tfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit v0.12