Ben Noordhuis
b6a869ef4f
test: check that EventEmitter.on == EventEmitter.addListener
13 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
13 years ago
koichik
19a855382c
tls: requestCert unusable with Firefox and Chrome
Fixes #1516 .
13 years ago
koichik
a09b747f30
child_process.fork: don't modify args
Fixes #1888 .
13 years ago
isaacs
59a5262041
Fix #1882 zlib Update 'availOutBefore' value, and test
13 years ago
Simen Brekken
4b0e36810a
net: register net.Server callback only once
Only register once for listening when passing a callback to Server.listen(),
this prevents servers recycled using close() from invoking the callback when
Server.listen() is called later.
13 years ago
Ben Noordhuis
5faff9ebdf
test: test long process name support
On platforms that support it: linux, freebsd, darwin
13 years ago
Ryan Dahl
3a34972672
Fix test-http-conn-reset.js on OSX
13 years ago
Ryan Dahl
e911171e03
Move some slow tests to pummel
13 years ago
Ryan Dahl
7b4370e5f8
Fix test/pummel/test-watch-file.js
13 years ago
Ryan Dahl
651b8a06d6
Fix test/pummel/test-exec.js
13 years ago
Ben Noordhuis
c82828ec27
test: add test for #1869
fs.readdir() on file should raise ENOTDIR, not UNKNOWN.
13 years ago
Igor Zinkovsky
99757cbeb2
fix simple/test-fs-utimes.js on windows
13 years ago
Ryan Dahl
0e2bbac4e0
Fix test-module-load-list.js
13 years ago
Ryan Dahl
9631e29933
Remove tests relying on !process.features.uv
13 years ago
Ryan Dahl
d2b8037ed0
disable test-sendfd
13 years ago
Ryan Dahl
53c163cd5b
Disable test-child-process-custom-fds.js
13 years ago
Ryan Dahl
ca4a0fce65
Remove test-child-process-channel.js
13 years ago
Ryan Dahl
982b19dbd7
Adjust listenFD deprecation message. Remove test.
13 years ago
Ryan Dahl
2c25507b81
process.stderr goes through libuv now
This commit removes one assert from test-console.js in which we check that
process.stderr.write returns true. In the case of a dump to a file we cannot
guarantee this any longer now that it goes through fs.WriteStream.
13 years ago
Igor Zinkovsky
af014c1a5e
fix for simple/test-executable-path.js on windows
13 years ago
Ryan Dahl
12486a6437
Change API for sending handles
Does not support sending net.Server objects only raw TCPWrap objects.
13 years ago
Ryan Dahl
26c08a3f35
Do load balancing test in test-child-process-fork2.
13 years ago
Ryan Dahl
899358e797
Add test-child-process-fork2 and fixes to make it work
13 years ago
Ryan Dahl
f6d889523d
mv test-child-process-spawn-node.js test/simple/test-child-process-fork.js
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ben Noordhuis
976c6b0826
test: add TXT DNS record lookup test
13 years ago
Maciej Małecki
365fdbfc64
test: Update assert module tests
13 years ago
Fedor Indutny
360ce526fd
debugger: watch, unwatch, watchers
Fixes #1800 .
13 years ago
Ryan Dahl
007ddcd2cd
Move test-net-write-callbacks to pummel
Runs in 3 seconds.
13 years ago
Ryan Dahl
49806864e4
Add test from v0.4 dea49e3
Note this test completes in 3 seconds on v0.4 and 7 minutes on master. NOT
GOOD.
13 years ago
koichik
49ac083dc1
tls: Add test for #1775
13 years ago
Ben Noordhuis
fa44659c66
test: fix typo in error message
13 years ago
Ryan Dahl
dea49e3d19
net: Fix string-concat hot path bug
Also removes functionality added in f9fec3a2d6
because it changes API. (That patch shouldn't have been added anyway.)
13 years ago
Fedor Indutny
1b8b097fad
debugger: refactor, no more res.success checks
Fixes #1779 .
13 years ago
Fedor Indutny
542156a6a1
debugger: use regexps in repl test
Fixes #1788
13 years ago
Ryan Dahl
41d811f41f
Fix test-module-load-list.js
13 years ago
Ryan Dahl
f5bdce9cc0
Disable test-dgram-unix.js test-dgram-unix-anon.js test-dgram-multicast.js
13 years ago
Ben Noordhuis
413d38c43b
test: test crypto (P)RNG functions
13 years ago
Fedor Indutny
f4124e18cb
debugger: setBreakpoint('fn()')
Fixes #1777
13 years ago
Ryan Dahl
040cf02724
Re-land Bert's test for #1697
Was reverted out in cde81a6675
13 years ago
Fedor Indutny
c26cf84a08
debugger: fix backtrace with no frames
Fixes #1768
13 years ago
Ben Noordhuis
f6bce20e5e
buffers: handle bad length argument in constructor
Coerce fractional, negative and non-numeric length arguments to numbers.
Fractional numbers are rounded up, negative numbers and non-numeric values
are set to zero.
13 years ago
Ben Noordhuis
d157131439
buffers: handle bad length argument in constructor
Coerce fractional, negative and non-numeric length arguments to numbers.
Fractional numbers are rounded up, negative numbers and non-numeric values
are set to zero.
13 years ago
Fedor Indutny
39fec6003e
debugger: remove useless clearlines, updated test
* remove useless clearline call at Interface start
* silence after .handleBreak()
* output '\b' if this.stdout is not a tty (debugger)
* add '\b' checks for clearline (test)
13 years ago
Fedor Indutny
e406613ee5
test-debugger-repl improvements
13 years ago
Fedor Indutny
1e37efb08b
initial tests
* Don't buffer command, before it's execution (repl)
* `quit` command, custom streams for .start, stubbed out test, disable
history repeation for non-tty (debugger)
13 years ago
Igor Zinkovsky
8fe5712477
fs watcher binding
13 years ago
isaacs
74c02066fe
Add broken test for #1726 .
13 years ago
isaacs
e06ce7562c
Fix #1707 hasOwnProperty usage
If hasOwnProperty is overridden, then calling `obj.hasOwnProperty(prop)`
can fail. Any time a dictionary of user-generated items is built, we
cannot rely on hasOwnProperty being safe, so must call it from the
Object.prototype explicitly.
13 years ago