Ryan Dahl
e232f09d38
fs.WriteStream.write should support buffer
Also re-adding the callback parameter.
15 years ago
Elijah Insua
976926376d
Handle empty files with fs.readFile
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
d7762dffe3
Forgot to add child_process_should_emit_error.js
15 years ago
Felix Geisendörfer
f8a3cf980f
Properly handle child process exit codes
The child process 'exit' was returning the status of the process, rather than
the exit code. This patch properly deconstructs the status into the exit code
and the term signal a process may have received.
See:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Watcher_Specific_Functions_and_Data_-5
and waitpid(2)
15 years ago
Felix Geisendörfer
76f98c27de
Get rid of coupling for stdout
15 years ago
Jonas Pfenniger
df07a713bd
New test-case: signal unregistration
The default signal-handler should be restored if no handlers are
assigned.
15 years ago
Ryan Dahl
d70474dc10
SIGPIPE on stdout should kill the process by default
15 years ago
Herbert Vojcik
c16508c87a
Better require.async throw test
15 years ago
Herbert Vojcik
d36bb6536e
Better require.async tests
15 years ago
Rhys Jones
c55c0a1fca
Add SSL tests
15 years ago
Ryan Dahl
94644d743c
Remove multipart library
Too messy, unmaintainable. Pull it out of the history if you need it.
15 years ago
Ryan Dahl
025116f8d0
Move Buffer into own module
15 years ago
Ryan Dahl
04c06b9149
child process now use net.Socket
15 years ago
Tim-Smart
0c17067d87
Add require.registerExtension
15 years ago
isaacs
976983960d
More ini parser features.
Update the ini parser to support some more whitespace cases, turn lines
without an equal sign into a "flag" that's just true if set, and support
comments.
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
Rob Ellis
5c78c45fa3
Added Parse INI to Node, tests
15 years ago
Ryan Dahl
71d237e6a0
Move net2 tests into test/simple
15 years ago
arlolra
3497da370b
Decoupled readdir test.
15 years ago
arlolra
04fac19822
Split tests.
15 years ago
Ryan
3fed1a0954
Use v8's test runner
16 years ago
Ryan
8b49cef10b
Modify the tests to use onExit hook.
No need to rely on stdout output now.
onExit callbacks should print stack trace from onExit failure
16 years ago
Ryan
f6a7fe2657
Implement onExit() hook for modules.
onExit() is similar to the onLoad() callback. onExit() is called on each
module just before the process exits. This can be used to check state in
unit tests, but not to perform I/O. The process will forcibly exit as soon
as all of the onExit callbacks are made.
16 years ago
Ryan
b6fe4aec50
Module system refactor
There is one major API change in the refactor: filename extensions are now
required when requiring or including modules.
Added extra test to test-module-loading.js.
16 years ago
Ryan
408526a1c1
debugging/improving the module framework
16 years ago