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.
This commit is contained in:
Felix Geisendörfer
2009-11-07 17:56:49 +01:00
committed by Ryan Dahl
parent 6c9ec1ac40
commit a021db151a

View File

@@ -21,7 +21,7 @@ assertEquals('/moduleA.js', httpModule.httpPath());
modulesLoaded++;
var nodeBinary = process.ARGV[0];
var cmd = nodeBinary+' http://localhost:'+PORT+'/moduleB.js';
var cmd = 'NODE_PATH='+libDir+' '+nodeBinary+' http://localhost:'+PORT+'/moduleB.js';
sys
.exec(cmd)