summaryrefslogtreecommitdiff
path: root/test/simple/test-chdir.js
blob: bd9c522bfa4f163cc3aebf676a4dcfd6463d1310 (plain)
1
2
3
4
5
6
7
require("../common");

assert.equal(true, process.cwd() !== __dirname);

process.chdir(__dirname);

assert.equal(true, process.cwd() === __dirname);