summaryrefslogtreecommitdiffstats
path: root/test/mtime.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 21:06:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 21:06:26 (GMT)
commitc7bf502798ed500d9637ff3dd23a83420afd5070 (patch)
treea29e4bc6023564b9db5b435e4646b2b667171da2 /test/mtime.c
parent5ad5d1a6d1190bbc6ed064eaae7ca1d2e361cb0a (diff)
downloadhdf5-c7bf502798ed500d9637ff3dd23a83420afd5070.zip
hdf5-c7bf502798ed500d9637ff3dd23a83420afd5070.tar.gz
hdf5-c7bf502798ed500d9637ff3dd23a83420afd5070.tar.bz2
[svn-r11246] 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 a3a3652..ac52c2b 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)
@@ -105,7 +105,7 @@ main(void)
puts(" name.");
goto error;
}
-
+
/* Compare times -- they must be within 60 seconds of one another */
if (0==sb1.mtime) {
SKIPPED();
@@ -123,12 +123,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");
@@ -163,7 +163,7 @@ main(void)
* and make certain that the time is correct
*/
TESTING("accessing new modification time messages");
-
+
{
char testfile[512]="";
char *srcdir = HDgetenv("srcdir");
@@ -203,4 +203,4 @@ main(void)
}
-
+