summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-03-09 23:13:22 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-03-09 23:13:22 (GMT)
commitcee43a0f303bb7c561604dc5fd0010315fd1e635 (patch)
tree119bedecdf436d882f9597d3d5d2e2554c0d78d5 /test/th5s.c
parent2c3234ef72e359439918da691dab5aa78baa0dbb (diff)
downloadhdf5-cee43a0f303bb7c561604dc5fd0010315fd1e635.zip
hdf5-cee43a0f303bb7c561604dc5fd0010315fd1e635.tar.gz
hdf5-cee43a0f303bb7c561604dc5fd0010315fd1e635.tar.bz2
[svn-r1129] Test bugs fixed in T3E port.
external.c: Test assumed sizeof(int) is 4. Changed the hard-coded values to values depending on the native sizeof(int). th5s.c: Changed hardcoded old filenames to macro FILE.
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/th5s.c b/test/th5s.c
index 30b1f2e..e26fe9a 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -164,8 +164,8 @@ test_h5s_basic(void)
* Try reading a file that has been prepared that has a dataset with a
* higher dimensionality than what the library can handle.
*/
- fid1 = H5Fopen("th5s.h5", H5F_ACC_RDONLY, H5P_DEFAULT);
- CHECK_I(fid1, "H5Fopen(th5s.h5)");
+ fid1 = H5Fopen(FILE, H5F_ACC_RDONLY, H5P_DEFAULT);
+ CHECK_I(fid1, "H5Fopen");
dset1 = H5Dopen(fid1, "dset");
VERIFY(dset1, FAIL, "H5Dopen");
ret = H5Fclose(fid1);