summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-11-04 16:29:32 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-11-04 16:29:32 (GMT)
commit23fb9b7233fbfdaca62813ff1d6d1519dbae794c (patch)
treef30256e03f40ea4e652a35ce1a9cce54ccc28fed /test
parentad1a5b1e9855dfbc7f9e6149321c08ac0047f961 (diff)
downloadhdf5-23fb9b7233fbfdaca62813ff1d6d1519dbae794c.zip
hdf5-23fb9b7233fbfdaca62813ff1d6d1519dbae794c.tar.gz
hdf5-23fb9b7233fbfdaca62813ff1d6d1519dbae794c.tar.bz2
[svn-r24402] Issue 8528 - H5F_get_objects overfilled the list for object IDs. I fixed a typo. It caused the PGI compiler on jam to fail tfile.c test.
Tested with h5committest.
Diffstat (limited to 'test')
-rw-r--r--test/tfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 012de71..bf4a8c2 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -965,7 +965,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. */