0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/mjsunit/test-umask.js
Felix Geisendörfer 530328f12b CommonJS testing for node.js
Refactored test suite to use the assert module for testing rather than
mjsunit.
2009-12-05 01:05:16 +01:00

7 lines
135 B
JavaScript

process.mixin(require("./common"));
var mask = 0664;
var old = process.umask(mask);
assert.equal(true, mask === process.umask(old));