Ben Noordhuis
c4f418d035
test: disable simple/test-dgram-send-error
It's not a good citizen, it spams random IP addresses with UDP packets.
Fixes #4730 .
12 years ago
Ben Noordhuis
4e1a2f9a89
test: disable simple/test-debug-brk-file
This test is timing sensitive and hence quite unreliable with debug
builds. What's worse is that it leaves a stray child process behind
that listens on the default test port and that makes all the tests
that come after it fail with EADDRINUSE errors.
12 years ago
Ben Noordhuis
910e24b53d
fs: remove fs.sendfile()
Said function has been broken (and useless) since v0.6.0. Remove it altogether.
Fixes #3854 .
12 years ago
Chad Rhyner
8fc578b631
test: disable eio-race tests
Disabled the following unit tests:
* test-eio-race.js
* test-eio-race2.js
* test-eio-race4.js
These tests are known to fail on busy boxes due to being timing sensitive,
and are deemed not meaningful tests.
See https://github.com/joyent/node/issues/4272
Fixes #4272 .
12 years ago
Igor Zinkovsky
0b57fee3f8
enable test-fs-largefile.js test
13 years ago
Ben Noordhuis
7f4aba91d3
test: include common.js in all tests
13 years ago
Ben Noordhuis
fd29448be0
test: add missing copyright headers
13 years ago
Ryan Dahl
850609ea2d
Remove separation of libuv tests
13 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
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
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ryan Dahl
f5bdce9cc0
Disable test-dgram-unix.js test-dgram-unix-anon.js test-dgram-multicast.js
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
13 years ago
koichik
485d5b5dff
dns: Force the DNS module to invoke callbacks asynchronously.
Fixes #1164 .
13 years ago
koichik
8293bb8a32
test: refactored http test.
Many http tests had used legacy http.Client.
This refactored it to use modern API.
Fixes #1528 .
13 years ago
isaacs
ef35f4d6c1
Test for default host headers on default ports in https and http
13 years ago
koichik
a3e3ad40b1
Fix fs can't handle large file on 64bit platform
fs.read() and fs.write() can't handle more than 2GB files on 64bit platform.
Also fs.truncate() can't handle more than 4GB files.
Fixes #1199 .
Fixes #1094 .
14 years ago
Ryan Dahl
9ccf0e527f
Don't error on ENOTCONN from shutdown()
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
ca8be39b9e
Disable test-http-agent2.js for the moment
Still broken.
14 years ago
koichik
0a51a6d3ac
Fix process.stdout.end() throws ENOTSOCK error.
14 years ago
Ryan Dahl
c2a62951f6
TLS sockets should not be writable after 'end'
Closes GH-694.
14 years ago
Ryan Dahl
60ad3aa917
Disable test-tls-large-push, taking too long
14 years ago
Ryan Dahl
97f7c06451
TLS: fix throttling
Re-enable test-https-large-response.js
Closes GH-614.
14 years ago
Ryan Dahl
41b4ec7952
TLS: flush buffer before destroy
Also disable test-https-large-response.js. Covered by
test/simple/test-tls-throttle.js
14 years ago
isaacs
435ece5058
child_process: Support setting uid/gid by name
14 years ago
isaacs
6f5d95de6d
child_process: Add gid/uid flags to spawn config
This is mostly working, but not completely ideal for two reasons.
1. Rather than emitting an error on the ChildProcess object when the
setgid/setuid fails, it is simply printing the error to stderr and
exiting. The same happens with the cwd, so that's not completely
terrible.
2. I don't have a good test for this. It fails with an EPERM if you try
to change the uid or gid as a non-root user.
14 years ago
Ryan Dahl
5138992f3c
Add some verification code to tls.connect()
14 years ago
Ryan Dahl
2ca63c8f79
Initial implementation of tls.connect()
Seems to work checkout test/disabled/tls-client.js
Type "GET /" after connected.
14 years ago
Ryan Dahl
5bca100afe
Server must not request cert.
14 years ago
Oleg Efimov
093dfaf801
GJSLint all tests, only 3 long lines left in test-url.js
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Ryan Dahl
d8f2880ca4
New TLS server API
14 years ago
isaacs
a52f59b437
Use a proper tty test.
14 years ago
Ben Noordhuis
611dffabb6
Support CNAME lookups in DNS module.
14 years ago
Ryan Dahl
df46c8e698
Rip out the old TLS implementation
14 years ago
Ryan Dahl
2219c64a04
fix race in test-http-big-proxy-responses.js
14 years ago
Ryan Dahl
ee8522996a
Enable pipe test
14 years ago
Ryan Dahl
1879d8211d
Remove sys in new tests
14 years ago
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
14 years ago
Ryan Dahl
2944e03a03
Closer to a working pipe
14 years ago
Ryan Dahl
1d3142a882
TCP clients should buffer writes before connection
14 years ago
Ryan Dahl
81ac0d5088
pipe-test fixes
14 years ago
Ryan Dahl
393f0071e4
Improve pipe-test. Still not working
14 years ago
Ryan Dahl
bc695475b9
Add Stream base class with stream.pipe
14 years ago
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
14 years ago
Tony Metzidis
debf389490
Catch Exceptions thrown when openssl is disabled
14 years ago
Herbert Vojčík
cf2b206a8e
More changes to tests so they really work under context module loader.
Plus, getting rid of test/common.js defining things in global.
14 years ago
Herbert Vojčík
32e309440f
Fix of 'sys.common.debug' calls in tests.
14 years ago