summaryrefslogtreecommitdiffstats
path: root/test/gheap.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
commit6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch)
tree5a7a112fe7a8a98c6fecb45b513789d15962eb3d /test/gheap.c
parent6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff)
downloadhdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2
[svn-r11245] Purpose:
Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'test/gheap.c')
-rw-r--r--test/gheap.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/gheap.c b/test/gheap.c
index 9417e73..a3a9f58 100644
--- a/test/gheap.c
+++ b/test/gheap.c
@@ -80,7 +80,7 @@ test_1 (hid_t fapl)
puts(" Unable to create file");
goto error;
}
-
+
/*
* Write the objects, monotonically increasing in length. Since this is
* a clean file, the addresses allocated for the collections should also
@@ -119,7 +119,7 @@ test_1 (hid_t fapl)
nerrors++;
}
}
-
+
if (H5Fclose(file)<0) goto error;
if (nerrors) goto error;
PASSED();
@@ -174,7 +174,7 @@ test_2 (hid_t fapl)
puts(" Unable to create file");
goto error;
}
-
+
/*
* Write the objects, monotonically decreasing in length.
*/
@@ -206,7 +206,7 @@ test_2 (hid_t fapl)
nerrors++;
}
}
-
+
if (H5Fclose(file)<0) goto error;
if (nerrors) goto error;
PASSED();
@@ -284,7 +284,7 @@ test_3 (hid_t fapl)
nerrors++;
}
}
-
+
if (H5Fclose(file)<0) goto error;
if (nerrors) goto error;
PASSED();
@@ -357,7 +357,7 @@ test_4 (hid_t fapl)
* Remove every third one beginning with the second, but after the
* next one has already been inserted. That is, insert A, B, C;
* remove B, insert D, E, F; remove E; etc.
- */
+ */
if (1==i%3) {
H5Eclear_stack(H5E_DEFAULT);
status = H5HG_remove (f, H5P_DATASET_XFER_DEFAULT, obj+i-1);
@@ -381,7 +381,7 @@ test_4 (hid_t fapl)
} H5E_END_TRY;
return MAX(1, nerrors);
}
-
+
/*-------------------------------------------------------------------------
* Function: main
@@ -407,7 +407,7 @@ main (void)
h5_reset();
fapl = h5_fileaccess();
-
+
nerrors += test_1(fapl);
nerrors += test_2(fapl);
nerrors += test_3(fapl);