diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-20 01:57:45 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-20 01:58:15 +0300 |
commit | 26efe301f4a7b7e4bf97b0d3468037b7e259e1db (patch) | |
tree | 0a795ff2ee39ea8e52afd5847d74d73fb6e9c906 | |
parent | b13cc702acf7a6b0a7f8ce3d69b2097a667ade92 (diff) |
Fix entry-time test to pass on MacOS
-rw-r--r-- | tests/entry-time/testscript | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/entry-time/testscript b/tests/entry-time/testscript index 933ae3a..3d090cb 100644 --- a/tests/entry-time/testscript +++ b/tests/entry-time/testscript @@ -3,12 +3,13 @@ # license : MIT; see accompanying LICENSE file # Filesystem entry times resolution may vary across OSes and underlying APIs, -# so the timestamp set for the enty may differ a bit from the one we get for -# it afterwards. Thus we will compare with the milliseconds resolution which -# seems to be reasonable to expect being supported on the platforms we are -# testing on. +# so the timestamp set for the entry may differ a bit from the one we get for +# it afterwards. On most of the platforms we are testing on the resolution is +# at least a millisecond. MacOS has a second resolution on HFS+ file system. # -t = 1521456316789 # Some time point since epoch expressed in milliseconds. +# Some time point since epoch, expressed in milliseconds. +# +t = ($cxx.target.class != 'macos' ? 1521456316789 : 1521456316000) : modification : |