summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-08-12 15:27:13 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-08-12 15:27:13 (GMT)
commit7de4101d1255a72a9ce00aae682c0f03eda95362 (patch)
treefc53754f3f9c4e2c8fc8439e3b56378761be4705 /test
parent4dfae9e8975c6331387dd3b4574ee5f177bdfafc (diff)
downloadhdf5-7de4101d1255a72a9ce00aae682c0f03eda95362.zip
hdf5-7de4101d1255a72a9ce00aae682c0f03eda95362.tar.gz
hdf5-7de4101d1255a72a9ce00aae682c0f03eda95362.tar.bz2
[svn-r9074] Purpose: bug fix
Description: The test tried to read a dataset of H5T_STD_I32LE type and verify with the size of H5T_NATIVE_INT in function test_misc20(), line 3376. This will fail on some machines like Crays where the size of H5T_NATIVE_INT is 8 bytes. Solution: changed from H5T_NATIVE_INT to H5T_STD_I32LE. Platforms tested: Crays - very simple change.
Diffstat (limited to 'test')
-rw-r--r--test/tmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index 7a0b0d2..73f68f1 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -3373,7 +3373,7 @@ test_misc20(void)
/* Get the layout contiguous storage size */
ret = H5D_layout_contig_size_test(did,&contig_size);
CHECK(ret, FAIL, "H5D_layout_contig_size_test");
- VERIFY(contig_size, MISC20_SPACE_DIM0*MISC20_SPACE_DIM1*H5Tget_size(H5T_NATIVE_INT), "H5D_layout_contig_size_test");
+ VERIFY(contig_size, MISC20_SPACE_DIM0*MISC20_SPACE_DIM1*H5Tget_size(H5T_STD_I32LE), "H5D_layout_contig_size_test");
/* Close datasset */
ret=H5Dclose(did);