From a021db151a6c890281e4367d2a2319290c70576d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Sat, 7 Nov 2009 17:56:49 +0100 Subject: [PATCH] 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. --- test/mjsunit/test-remote-module-loading.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mjsunit/test-remote-module-loading.js b/test/mjsunit/test-remote-module-loading.js index 7c6b0f56ed..1ff7c280e3 100644 --- a/test/mjsunit/test-remote-module-loading.js +++ b/test/mjsunit/test-remote-module-loading.js @@ -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)