felixge (owner)

Revisions

gist: 228780 Download_button fork
public
Public Clone URL: git://gist.github.com/228780.git
Embed All Files: show embed
0001-Bug-fix-for-test-remote-module-loading.js.patch #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From f993026a1f245df5a1ae5560d531f11f961bbd9d Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Felix=20Geisend=C3=B6rfer?= <felix@debuggable.com>
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 files changed, 1 insertions(+), 1 deletions(-)
 
diff --git a/test/mjsunit/test-remote-module-loading.js b/test/mjsunit/test-remote-module-loading.js
index 7c6b0f5..1ff7c28 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)
--
1.6.3.3