Bert Belder
b866a96cfa
test-child-process-kill: make it pass on windows
The test would fail if the child process writes anything to the stdout.
This doesn't happen on unix, since `cat` is spawned. However, on Windows
`cmd` is started, which *does* write stuff to it's stdout. This
meanlingless assert is now removed.
13 years ago
Ryan Dahl
850609ea2d
Remove separation of libuv tests
13 years ago
Ben Noordhuis
c8646e0c41
test: add ChildProcess.prototype.killed test case
13 years ago
Igor Zinkovsky
5ca3dcd127
test: fix test-child-process-stdin and test-child-process-kill on windows
13 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
14 years ago
Ben Noordhuis
30d20cf405
Revert commits 12c8b27
and 88f416a
, fixed properly in 2fe4558
.
14 years ago
Ben Noordhuis
12c8b27e24
test: fix exec-after-fork race in test/simple/test-child-process-kill.js
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Oleg Efimov
0665f0271e
GJSLint all simple tests exclude http-*, url, path
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
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
Ryan Dahl
04c06b9149
child process now use net.Socket
15 years ago