From 26efe301f4a7b7e4bf97b0d3468037b7e259e1db Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 20 Mar 2018 01:57:45 +0300 Subject: Fix entry-time test to pass on MacOS --- tests/entry-time/testscript | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'tests') 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 : -- cgit v1.1