Using FUTIMENS instead of FUTIMES (dotnet/corefx#34271)
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Wed, 2 Jan 2019 23:12:21 +0000 (15:12 -0800)
committerGitHub <noreply@github.com>
Wed, 2 Jan 2019 23:12:21 +0000 (15:12 -0800)
commit0964672cf12a84ae5217134b073496c8d03643a2
treec6cbf5e8c3207442e1d7091759ea2ed026a0ec05
parent51321014c6de05a809e6647467f3c7b8fd15400e
Using FUTIMENS instead of FUTIMES (dotnet/corefx#34271)

* test added

* rearranging order for if statements

* reducing thread sleep time and reverting millisecond test change

* adding comment

* removing comment, adding tick equality check, failing if not able to create file with non-zero nano or milli second

* correcting test for hfs system

* NanoSeconds -> Nanoseconds, Millisec -> milliseconds
HFs assert converted to false

Commit migrated from https://github.com/dotnet/corefx/commit/83e468591a0212f109c179c2f4b75ef03c92432b
src/libraries/Native/Unix/System.Native/pal_io.c
src/libraries/System.IO.FileSystem/tests/FileInfo/GetSetTimes.cs