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
15 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.
15 years ago
Herbert Vojčík
32e309440f
Fix of 'sys.common.debug' calls in tests.
15 years ago
Rasmus Andersson
758f12f34c
added read and write support for process.title Darwin
This will only manipulate the OS X-level process name, not the title shown
in e.g. ps.
15 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Blake Mizerany
8c8534046c
fix whitespace errors
15 years ago
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
and there was much rejoicing
15 years ago
Peter Griess
2420f07e94
Allow process.setuid() and process.setgid() to accept string names in lieu of numeric IDs
15 years ago
Jonas Pfenniger
4274e6b7d0
FIX: signal-unregister bug
We now restore the default signal behavior when all listeners are
removed for a given signal.
Re-enabled test-signal-unregister
15 years ago
Ryan Dahl
67eeedd602
Disable test-signal-unregister.js as functionality doesn't exist yet
15 years ago
Ryan Dahl
15bb392afd
Disable test-remote-module-loading
In ab068db9b1
this test was broken because (I
think) compile/run errors are set to crash the program instead of being
passed back.
Error reporting is more important than remote loading. Disabling until there
is a fix
15 years ago
Ryan Dahl
ab068db9b1
Improve error reporting
- No more single line "node.js:176:9" errors
- No more strange output when error happens on first line due to
module wrapper function.
- A few tests to check these things
15 years ago
Ryan Dahl
301b44d45d
Chunk strings together on Stream buffer
15 years ago
Ryan Dahl
c7b3c1ecbc
Add more asserts to test-http-big-proxy-responses
15 years ago
Jérémy Lal
0802326fc9
test-dns so that NXDOMAIN does not rise errors
15 years ago
Jérémy Lal
5caf53a053
Add support for MX queries in dns module, works with c-ares upstream patch.
15 years ago
Rhys Jones
3510669db2
Fixed ssl client and server examples
15 years ago
Ryan Dahl
d2e1b0855f
Move two broken tests to disabled folder
15 years ago
Ryan Dahl
a934566eb9
Disable test-idle-watcher
IdleWatcher was disabled in a98d23d905
15 years ago
Ryan Dahl
d923c94a0c
Remove udns
15 years ago
Krishna Rajendran
96df65e88e
Make test-dns.js use dns_cares.
15 years ago
Rhys Jones
c55c0a1fca
Add SSL tests
15 years ago
Ryan Dahl
025116f8d0
Move Buffer into own module
15 years ago
Krishna Rajendran
84277ea845
Check for callback argument in PTR lookup
15 years ago
Ryan Dahl
217e4b40d4
Check for callback argument in DNS functions
15 years ago
Krishna Rajendran
3c97a4391a
Update test-dns.js to work with latest api
15 years ago
Ryan Dahl
c857d65dd3
Disable test-net-fd-passing for now
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
arlolra
724ccf10df
Tests on common port.
15 years ago