[seed] modules.js test fixed = use Seed.argv to do remote call



commit e43d6c82c7b61ed2fc643fde03d21404d126e0d7
Author: Alan Knowles <alan akbkhome com>
Date:   Wed Apr 17 00:44:11 2013 +0800

    modules.js test fixed = use Seed.argv to do remote call

 tests/javascript/modules.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/javascript/modules.js b/tests/javascript/modules.js
index cfc4f5a..1a7d737 100755
--- a/tests/javascript/modules.js
+++ b/tests/javascript/modules.js
@@ -2,7 +2,7 @@
 
 testsuite = imports.testsuite
 
-input = Seed.spawn("/usr/bin/env seed modules-noasserts.js");
+input = Seed.spawn(Seed.argv[0] + " modules-noasserts.js");
 
 testsuite.assert(input.stdout == "Hello Seed Module World\n")
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]