diff options
Diffstat (limited to 'test/simple/test-fs-realpath.js')
-rw-r--r-- | test/simple/test-fs-realpath.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/simple/test-fs-realpath.js b/test/simple/test-fs-realpath.js index e97e553f8a..7ff4ea5300 100644 --- a/test/simple/test-fs-realpath.js +++ b/test/simple/test-fs-realpath.js @@ -23,7 +23,8 @@ function asynctest(testBlock, args, callback, assertBlock) { } function bashRealpath(path, callback) { - exec("cd '"+path.replace("'","\\'")+"' && pwd -P",function (err, o) { + common.exec("cd '"+path.replace("'","\\'")+"' && pwd -P",function + (err, o) { callback(err, o.trim()); }); } |