isaacs
59a5262041
Fix #1882 zlib Update 'availOutBefore' value, and test
2011-10-13 16:47:51 -07:00
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.
2011-10-13 16:09:14 +02:00
Ben Noordhuis
5faff9ebdf
test: test long process name support
...
On platforms that support it: linux, freebsd, darwin
2011-10-13 15:47:05 +02:00
Ryan Dahl
3a34972672
Fix test-http-conn-reset.js on OSX
2011-10-12 17:31:49 -07:00
Ryan Dahl
e911171e03
Move some slow tests to pummel
2011-10-12 16:59:00 -07:00
Ryan Dahl
7b4370e5f8
Fix test/pummel/test-watch-file.js
2011-10-12 16:19:46 -07:00
Ryan Dahl
651b8a06d6
Fix test/pummel/test-exec.js
2011-10-12 16:12:24 -07:00
Ben Noordhuis
c82828ec27
test: add test for #1869
...
fs.readdir() on file should raise ENOTDIR, not UNKNOWN.
2011-10-12 17:37:30 +02:00
Igor Zinkovsky
99757cbeb2
fix simple/test-fs-utimes.js on windows
2011-10-11 22:50:16 -07:00
Ryan Dahl
0e2bbac4e0
Fix test-module-load-list.js
2011-10-11 14:49:39 -07:00
Ryan Dahl
9631e29933
Remove tests relying on !process.features.uv
2011-10-11 14:47:02 -07:00
Ryan Dahl
d2b8037ed0
disable test-sendfd
2011-10-11 13:03:29 -07:00
Ryan Dahl
53c163cd5b
Disable test-child-process-custom-fds.js
2011-10-11 11:27:58 -07:00
Ryan Dahl
ca4a0fce65
Remove test-child-process-channel.js
2011-10-10 14:27:52 -07:00
Ryan Dahl
982b19dbd7
Adjust listenFD deprecation message. Remove test.
2011-10-10 14:24:56 -07:00
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.
2011-10-10 14:15:44 -07:00
Igor Zinkovsky
af014c1a5e
fix for simple/test-executable-path.js on windows
2011-10-07 17:48:47 -07:00
Ryan Dahl
12486a6437
Change API for sending handles
...
Does not support sending net.Server objects only raw TCPWrap objects.
2011-10-07 16:43:55 -07:00
Ryan Dahl
26c08a3f35
Do load balancing test in test-child-process-fork2.
2011-10-07 13:58:55 -07:00
Ryan Dahl
899358e797
Add test-child-process-fork2 and fixes to make it work
2011-10-07 04:03:47 -07:00
Ryan Dahl
f6d889523d
mv test-child-process-spawn-node.js test/simple/test-child-process-fork.js
2011-10-06 22:56:29 -07:00
Colton Baker
87286cc737
Fixed a lot of jslint errors.
...
Fixes #1831
2011-10-05 18:51:06 -07:00
Ben Noordhuis
976c6b0826
test: add TXT DNS record lookup test
2011-10-03 16:50:09 +02:00
Maciej Małecki
365fdbfc64
test: Update assert module tests
2011-10-02 02:25:52 +02:00
Fedor Indutny
360ce526fd
debugger: watch, unwatch, watchers
...
Fixes #1800 .
2011-09-30 13:22:56 -07:00
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.
2011-09-30 09:56:37 -07:00
Ben Noordhuis
fa44659c66
test: fix typo in error message
2011-09-29 04:51:40 +02:00
Fedor Indutny
1b8b097fad
debugger: refactor, no more res.success checks
...
Fixes #1779 .
2011-09-28 11:40:51 -07:00
Fedor Indutny
542156a6a1
debugger: use regexps in repl test
...
Fixes #1788
2011-09-28 11:39:45 -07:00
Ryan Dahl
41d811f41f
Fix test-module-load-list.js
2011-09-27 13:11:09 -07:00
Ryan Dahl
f5bdce9cc0
Disable test-dgram-unix.js test-dgram-unix-anon.js test-dgram-multicast.js
2011-09-27 12:52:48 -07:00
Ben Noordhuis
413d38c43b
test: test crypto (P)RNG functions
2011-09-27 20:27:57 +02:00
Fedor Indutny
f4124e18cb
debugger: setBreakpoint('fn()')
...
Fixes #1777
2011-09-27 00:26:16 -07:00
Ryan Dahl
040cf02724
Re-land Bert's test for #1697
...
Was reverted out in cde81a6675
2011-09-26 12:50:59 -07:00
Fedor Indutny
c26cf84a08
debugger: fix backtrace with no frames
...
Fixes #1768
2011-09-26 10:57:19 -07:00
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.
2011-09-24 18:27:03 +02:00
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)
2011-09-23 13:42:41 -07:00
Fedor Indutny
e406613ee5
test-debugger-repl improvements
2011-09-23 13:42:41 -07:00
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)
2011-09-23 09:38:24 -07:00
Igor Zinkovsky
8fe5712477
fs watcher binding
2011-09-22 22:32:33 -07:00
isaacs
74c02066fe
Add broken test for #1726 .
2011-09-22 19:38:01 -07:00
Ryan Dahl
c1ae6ea2f2
Add TTYWrap
2011-09-20 13:39:48 -07:00
isaacs
d104bfd5a6
zlib: Fix test so that it's not trivially passing, then pass it.
...
Regression from the refactor to move more things into JS.
2011-09-17 23:03:23 -07:00
isaacs
5b8e1dabbc
Initial pass at zlib bindings
2011-09-17 18:22:09 -07:00
Ryan Dahl
cde81a6675
Revert "Add regression test for issue 1697"
...
Causing many test failures due to lingering process
This reverts commit 8b754a9e02
.
2011-09-16 17:24:34 -07:00
Bert Belder
8b754a9e02
Add regression test for issue 1697
2011-09-17 00:05:15 +02:00
Ryan Dahl
2d0b1ed7ad
Upgrade libuv to 2640aae
...
Add test for bug fixed in joyent/libuv@2640aae1
2011-09-15 15:37:57 -07:00
Ryan Dahl
b281171030
Support legacy API: process.stdout.fd
2011-09-15 13:57:41 -07:00
Ryan Dahl
5cb1fd2e32
net.Socket(fd) should start readable and writable
2011-09-15 13:35:29 -07:00
Ryan Dahl
a1bafc5566
Merge remote branch 'origin/v0.4'
...
Conflicts:
deps/http_parser/http_parser.c
deps/http_parser/test.c
lib/repl.js
2011-09-15 11:48:37 -07:00