test: make sure O_NOATIME is present only in Linux
Checklist
-
tests and code linting passes -
a test and/or benchmark is included -
the commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
As it is, the test checks if the return value is undefined
in other
platforms. But it should also make sure that the O_NOATIME
should be
found only in Linux.
Ref: https://github.com/nodejs/node/pull/6492
cc @trott @bnoordhuis @jasnell
CI Run: https://ci.nodejs.org/job/node-test-pull-request/2522/