Permalink
Browse files

relative require for seed test

  • Loading branch information...
1 parent 522d9e4 commit 6193f782d1c488c0bc9685a2bb75982840831c9d @substack committed Aug 7, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/seed.js
View
@@ -6,7 +6,10 @@ exports.rand = function () {
assert.fail('never executed');
}, 5000);
- var cmd = 'node -e \'require("bigint").rand(1000).toString()\'';
+ var cmd = 'node -e \'require('
+ + JSON.stringify(__dirname + '/../')
+ + ').rand(1000).toString()\''
+ ;
exec(cmd, function (err1, r1) {
exec(cmd, function (err2, r2) {
clearTimeout(to);

0 comments on commit 6193f78

Please sign in to comment.