summaryrefslogtreecommitdiffstats
path: root/test/mtime.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/mtime.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/mtime.c')
-rw-r--r--test/mtime.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/mtime.c b/test/mtime.c
index 2c0d2dd..18f0bbf 100644
--- a/test/mtime.c
+++ b/test/mtime.c
@@ -39,9 +39,9 @@ const char *FILENAME[] = {
*
* Purpose: H5O_mtime_decode() test.
*
- * Return: Success:
+ * Return: Success:
*
- * Failure:
+ * Failure:
*
* Programmer: Robb Matzke
* Thursday, July 30, 1998
@@ -68,9 +68,9 @@ main(void)
h5_reset();
fapl = h5_fileaccess();
-
+
TESTING("modification time messages");
-
+
/* Create the file, create a dataset, then close the file */
h5_fixname(FILENAME[0], fapl, filename, sizeof filename);
if ((file=H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl))<0)
@@ -104,7 +104,7 @@ main(void)
puts(" name.");
goto error;
}
-
+
/* Compare times -- they must be within 60 seconds of one another */
if (0==sb1.mtime) {
SKIPPED();
@@ -122,12 +122,12 @@ main(void)
goto error;
}
PASSED();
-
+
/* Check opening existing file with old-style modification time information
* and make certain that the time is correct
*/
TESTING("accessing old modification time messages");
-
+
{
char testfile[512]="";
char *srcdir = HDgetenv("srcdir");
@@ -162,7 +162,7 @@ main(void)
* and make certain that the time is correct
*/
TESTING("accessing new modification time messages");
-
+
{
char testfile[512]="";
char *srcdir = HDgetenv("srcdir");
@@ -202,4 +202,4 @@ main(void)
}
-
+