~yolanda.robla/ubuntu/trusty/nodejs/add_distribution

« back to all changes in this revision

Viewing changes to test/simple/test-tcp-wrap.js

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2013-08-14 00:16:46 UTC
  • mfrom: (7.1.40 sid)
  • Revision ID: package-import@ubuntu.com-20130814001646-bzlysfh8sd6mukbo
Tags: 0.10.15~dfsg1-4
* Update 2005 patch, adding a handful of tests that can fail on
  slow platforms.
* Add 1004 patch to fix test failures when writing NaN to buffer
  on mipsel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
// Should not be able to bind to the same port again
34
34
var r = handle.bind('0.0.0.0', common.PORT);
35
35
assert.equal(-1, r);
36
 
console.log(errno);
37
 
assert.equal(errno, 'EINVAL');
 
36
console.log(process._errno);
 
37
assert.equal(process._errno, 'EINVAL');
38
38
 
39
39
handle.close();