node/test/mjsunit/test-umask.js

7 lines
135 B
JavaScript
Raw Normal View History

2009-11-23 02:52:52 +08:00
process.mixin(require("./common"));
var mask = 0664;
var old = process.umask(mask);
assert.equal(true, mask === process.umask(old));