|
|
@ -140,7 +140,8 @@ function runClient (options, cb) { |
|
|
|
//client.stdout.pipe(process.stdout);
|
|
|
|
|
|
|
|
client.on('exit', function(code) { |
|
|
|
assert.equal(0, code); |
|
|
|
//assert.equal(0, code, options.name +
|
|
|
|
// ": s_client exited with error code " + code);
|
|
|
|
if (options.shouldReject) { |
|
|
|
assert.equal(true, rejected, options.name + |
|
|
|
" NOT rejected, but should have been"); |
|
|
@ -199,7 +200,11 @@ function runTest (testIndex) { |
|
|
|
} |
|
|
|
|
|
|
|
server.listen(common.PORT, function() { |
|
|
|
runNextClient(0); |
|
|
|
if (tcase.debug) { |
|
|
|
console.error("TLS server running on port " + common.PORT); |
|
|
|
} else { |
|
|
|
runNextClient(0); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|