diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2009-09-17 19:27:18 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2009-09-17 19:27:18 (GMT) |
commit | f4d69b78e505fa873f5fb29b903f5f7bcd07350b (patch) | |
tree | 905c38469ad973c5d7ccc57887b3dbd25d4dff9d /test/tfile.c | |
parent | c0bb2c979bdff34fd15534034d1de48388fdf90e (diff) | |
download | hdf5-f4d69b78e505fa873f5fb29b903f5f7bcd07350b.zip hdf5-f4d69b78e505fa873f5fb29b903f5f7bcd07350b.tar.gz hdf5-f4d69b78e505fa873f5fb29b903f5f7bcd07350b.tar.bz2 |
[svn-r17490] 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 for the same change in the trunk - simple change.
Diffstat (limited to 'test/tfile.c')
-rw-r--r-- | test/tfile.c | 12 |
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 /**************************************************************** ** |