summaryrefslogtreecommitdiff
path: root/benchmark/buffers/buffer-indexof.js
diff options
context:
space:
mode:
authorSamantha Sample <ssample812@gmail.com>2019-06-17 15:00:42 -0700
committerRich Trott <rtrott@gmail.com>2019-06-20 12:54:26 -0600
commit5ccce52113a0f01da474eb066ac40d2dcbea1a55 (patch)
tree4cc431d7c39dc6b02fa381c0d3f9fba093b43205 /benchmark/buffers/buffer-indexof.js
parentd5cf51dad589dffed2f15cc3a49d19ae13968b8f (diff)
downloadandroid-node-v8-5ccce52113a0f01da474eb066ac40d2dcbea1a55.tar.gz
android-node-v8-5ccce52113a0f01da474eb066ac40d2dcbea1a55.tar.bz2
android-node-v8-5ccce52113a0f01da474eb066ac40d2dcbea1a55.zip
test: normalize location test-worker-process-cwd.js runs tests
This change sets the process' directory to __dirname in order to normalize where the test is ran. This addresses the situation that occurs when node is located in the root, and moving up a directory results in the same directory. In that case, an error was thrown because the test interpreted this as a failed directory change. Fixes: https://github.com/nodejs/node/issues/28193 PR-URL: https://github.com/nodejs/node/pull/28271 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'benchmark/buffers/buffer-indexof.js')
0 files changed, 0 insertions, 0 deletions