summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2009-09-17 19:23:08 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2009-09-17 19:23:08 (GMT)
commit5713f108ce4a9ec9ddf0d0446cdd083e1761d3a6 (patch)
tree2ff6142e7e93c7761b9263d950a9880a92ff6b2b /test/tfile.c
parentb7b90996277ee7d74bdc337f17ccb61e7e8727a1 (diff)
downloadhdf5-5713f108ce4a9ec9ddf0d0446cdd083e1761d3a6.zip
hdf5-5713f108ce4a9ec9ddf0d0446cdd083e1761d3a6.tar.gz
hdf5-5713f108ce4a9ec9ddf0d0446cdd083e1761d3a6.tar.bz2
[svn-r17489] Skip the test in the function test_rw_noupdate() for OpenVMS because the modification time
returned from the system function stat is the same as the last access time, making it impossible to test whether the file is modified. Tested on jam - simple change.
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 3d730d5..0d07d1b 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -2073,7 +2073,18 @@ test_cached_stab_info(void)
** mamcgree@hdfgroup.org
** June 29, 2009
**
+** Modification: Raymond Lu
+** Skip this function for OpenVMS.
+** 17 September 2009
*****************************************************************/
+#ifdef H5_VMS
+static void
+test_rw_noupdate(void)
+{
+ /* Output message about test being performed */
+ MESSAGE(1, ("Testing to verify that nothing is written if nothing is changed. This test is skipped on OpenVMS because the modification time from stat is the same as the last access time.\n"));
+} /* end test_rw_noupdate() */
+#else
static void
test_rw_noupdate(void)
{
@@ -2114,6 +2125,7 @@ test_rw_noupdate(void)
ret = (diff > 0.0);
VERIFY(ret, 0, "Timestamp");
} /* end test_rw_noupdate() */
+#endif
/****************************************************************
**