summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-09-16 16:22:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-09-16 16:22:16 (GMT)
commitb9be0455961ca1098bc4977bf1138394932b75db (patch)
tree8bf7377bbda85d614e4e5984c5a1a59ac323310e /test/dtypes.c
parent37a1f87664a1b2026e1d2a1dd5033eb2e8b1f5fc (diff)
downloadhdf5-b9be0455961ca1098bc4977bf1138394932b75db.zip
hdf5-b9be0455961ca1098bc4977bf1138394932b75db.tar.gz
hdf5-b9be0455961ca1098bc4977bf1138394932b75db.tar.bz2
[svn-r15629] Description:
Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
Diffstat (limited to 'test/dtypes.c')
-rw-r--r--test/dtypes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index c469be1..a883028 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -1435,7 +1435,7 @@ test_compound_8(void)
printf("Can't get size of the compound datatype\n");
goto error;
} /* end if */
-
+
if(tsize != (sizeof(char) + sizeof(int))) {
H5_FAILED(); AT();
printf("The size of the packed compound datatype is incorrect\n");
@@ -2309,7 +2309,7 @@ test_compound_13(void)
TESTING("compound datatypes of boundary size with latest format");
- /* Create some phony data. */
+ /* Create some phony data. */
for(u = 0; u < COMPOUND13_ARRAY_SIZE + 1; u++)
data_out.x[u] = u;
data_out.y = 99.99;
@@ -2339,7 +2339,7 @@ test_compound_13(void)
/* Write some data. */
if(H5Awrite(attid, typeid, &data_out) < 0) FAIL_STACK_ERROR
-
+
/* Release all resources. */
if(H5Aclose(attid) < 0) FAIL_STACK_ERROR
if(H5Tclose(array1_tid) < 0) FAIL_STACK_ERROR
@@ -4638,7 +4638,7 @@ test_latest(void)
if(H5Oget_info_by_name(file, compnd_type, &oi, H5P_DEFAULT) < 0)
FAIL_STACK_ERROR
new_dtype_oh_size = oi.hdr.space.total;
-
+
/* Check that the new format is smaller than the old format */
if(old_dtype_oh_size <= new_dtype_oh_size)
TEST_ERROR