test: fix path to module for repl test on Windows
authorMichael Cornacchia <cornacch@ca.ibm.com>
Fri, 30 Oct 2015 16:08:49 +0000 (12:08 -0400)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commitc5eb09d9ac73d1f49532b9fe21d589914f2043f5
tree2d8e85025a3c7a2bcbce61e0a731105e1e99b995
parentd10638d97a1ff3b2f3787475410d059877400d8e
test: fix path to module for repl test on Windows

Use path join to construct the path instead of concatenating strings.
Replace backslash with double backslash so that they are escaped
correctly in the string passed to REPL.

PR-URL: https://github.com/nodejs/node/pull/3608
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
test/addons/repl-domain-abort/test.js