Showing with 1 addition and 1 deletion.
  1. +1 −1 test/simple/test-child-process-spawnsync.js
@@ -41,7 +41,7 @@ var ret = spawnSync('sleep', ['1']);
var stop = process.hrtime(start);
assert.strictEqual(ret.status, 0, 'exit status should be zero');
console.log('sleep exited', stop);
assert.strictEqual(stop[0], 1, 'sleep should not take longer or less than 1 second');
assert.ok(stop[0] >= 1, 'sleep should not take less than 1 second');

// Error test when command does not exist
var ret_err = spawnSync('command_does_not_exist');