mirror of https://github.com/lukechilds/node.git
12 lines
304 B
12 lines
304 B
'use strict';
|
|
|
|
const common = require('../common');
|
|
const assert = require('assert');
|
|
const constants = process.binding('constants');
|
|
|
|
if (common.isLinux) {
|
|
assert('O_NOATIME' in constants.fs);
|
|
assert.strictEqual(constants.fs.O_NOATIME, 0x40000);
|
|
} else {
|
|
assert(!('O_NOATIME' in constants.fs));
|
|
}
|
|
|