From b760daca21795cb7a0004a3d94bf072732967f83 Mon Sep 17 00:00:00 2001 From: George Stagas Date: Thu, 23 Apr 2015 21:27:14 +0300 Subject: [PATCH] fix test tmp dir cleanup --- test/core/bin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/core/bin.js b/test/core/bin.js index 6819a711d3..a925716bea 100644 --- a/test/core/bin.js +++ b/test/core/bin.js @@ -111,6 +111,7 @@ var buildTest = function (binName, testName, opts) { }; var clear = function () { + process.chdir(__dirname); if (fs.existsSync(tmpLoc)) rimraf.sync(tmpLoc); fs.mkdirSync(tmpLoc); process.chdir(tmpLoc);