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.
2012-06-12 23:30:57 +02:00
Ryan Dahl
850609ea2d
Remove separation of libuv tests
2011-11-02 16:38:59 -07:00
Ben Noordhuis
c8646e0c41
test: add ChildProcess.prototype.killed test case
2011-11-02 18:37:34 +01:00
Igor Zinkovsky
5ca3dcd127
test: fix test-child-process-stdin and test-child-process-kill on windows
2011-10-15 22:55:24 +02:00
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
2011-10-15 01:08:36 +02:00
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
2011-08-23 23:45:21 -07:00
Ben Noordhuis
30d20cf405
Revert commits 12c8b27
and 88f416a
, fixed properly in 2fe4558
.
2011-08-05 04:29:16 +02:00
Ben Noordhuis
12c8b27e24
test: fix exec-after-fork race in test/simple/test-child-process-kill.js
2011-08-03 16:05:49 +02:00
Ryan Dahl
55048cdf79
Update copyright headers
2011-03-14 17:37:05 -07:00
Oleg Efimov
0665f0271e
GJSLint all simple tests exclude http-*, url, path
2010-12-05 15:41:58 -08:00
Ryan Dahl
a0159b4b29
Fix global leaks
2010-12-04 15:58:50 -08:00
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
2010-07-15 14:21:31 -07:00
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)
2010-04-28 13:54:17 -07:00
Ryan Dahl
04c06b9149
child process now use net.Socket
2010-03-17 14:00:17 -07:00