Skip to content

Commit a021db1

Browse files
felixgery
authored andcommitted
Bug fix for test-remote-module-loading.js
Fix bug that caused test-remote-module-loading.js to use the installed version of the http library rather than the build one.
1 parent 6c9ec1a commit a021db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mjsunit/test-remote-module-loading.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ assertEquals('/moduleA.js', httpModule.httpPath());
2121
modulesLoaded++;
2222

2323
var nodeBinary = process.ARGV[0];
24-
var cmd = nodeBinary+' http://localhost:'+PORT+'/moduleB.js';
24+
var cmd = 'NODE_PATH='+libDir+' '+nodeBinary+' http://localhost:'+PORT+'/moduleB.js';
2525

2626
sys
2727
.exec(cmd)

0 commit comments

Comments
 (0)