Brian White
b7c23ac3f5
Incorporate endianness into buffer.read* function names instead of passing in a boolean flag
2011-08-12 15:49:57 +02:00
Ben Noordhuis
3cac57658f
test: add test for #1202 , uncatchable exception on bad host name
2011-08-12 15:23:29 +02:00
Ryan Dahl
2c11718d79
Add some debug output to test-child-process-double-pipe
2011-08-11 17:25:55 -07:00
isaacs
ac4791393e
Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'
2011-08-11 15:36:02 -07:00
Ben Noordhuis
79f064f565
net: properly export remoteAddress to user land
...
Fixes failing test:
test/simple/test-net-remote-address-port.js
2011-08-11 17:51:03 +02:00
Ben Noordhuis
f52a8db280
test: fix logic error in test-net-remote-address-port.js
...
The test intended to register an 'at exit' listener
but called `process.exit()` instead.
2011-08-11 16:26:01 +02:00
Ryan Dahl
e6b06bc6c5
win: fix test-process-env
...
Remove support for setting process.env.TZ as it doesn't seem we can do it
x-platform without fixing V8.
2011-08-10 17:15:13 -07:00
Ryan Dahl
35d0df919a
test: Allow common.ddCommand to be run in presence of existing file
2011-08-10 11:32:37 -07:00
Ryan Dahl
4983bd348d
x-platform func for spawning pwd in tests
...
Fixes test-child-process-buffering
2011-08-10 11:23:55 -07:00
Bert Belder
c96ef84427
Revert "Make test-sync-fileread pass even when git cr/lf conversion is enabled"
...
We'll solve this problem with a .gitattributes file.
This reverts commit 27ef0b0903
.
2011-08-10 19:59:36 +02:00
Bert Belder
27ef0b0903
Make test-sync-fileread pass even when git cr/lf conversion is enabled
2011-08-10 04:30:31 +02:00
Ryan Dahl
3ce4adf3c6
Remove unnecessary line
2011-08-09 18:05:57 -07:00
Ryan Dahl
b3bc009a89
Fix test-net-server-on-fd-0 for windows by removing assert
...
Rename to regression test for GH-746 as the fd 0 behavior was not what the
bug report was about.
2011-08-09 18:01:54 -07:00
Ryan Dahl
3b0f2cecff
Fix dd command tests for Windows
2011-08-09 17:43:57 -07:00
Ryan Dahl
665a4e4a1d
Fix test/simple/test-repl
2011-08-09 16:38:48 -07:00
Ryan Dahl
03a119eb70
Improve win compat of test-repl
2011-08-09 16:07:16 -07:00
Ryan Dahl
0696e78d64
Improve assert error messages
...
1. actual and expected should be displayed in the same order they were given
2. long values should be truncated.
2011-08-09 14:20:06 -07:00
Ryan Dahl
acc120a37b
windows: fix test-umask
2011-08-09 13:55:04 -07:00
Ryan Dahl
ab0b1f9f13
Fix test-executable-path
2011-08-08 17:35:26 -07:00
Ryan Dahl
2126989a32
Fix test-http-upgrade-server and test-http-parser
...
Problem was introduced in last http-parser upgrade which fixed a long
standing bug with the upgrade event and removed several callbacks.
2011-08-08 17:12:26 -07:00
Robert Mustacchi
0df08c6a0c
Endian argument should be a boolean. Signed integers shouldn't run through checks for unsigned integers. Clean up jslint. Provide unchecked uint entry points.
2011-08-08 17:01:57 -07:00
Ryan Dahl
df22ccb0de
Merge branch 'gyp'
2011-08-08 16:22:41 -07:00
Ryan Dahl
587f6c3117
Fix test-child-process-exec-cwd.
2011-08-08 16:17:18 -07:00
koichik
d439c092c2
Improve util.format() compatibility with browser.
...
Fixes #1434 .
2011-08-08 23:24:05 +09:00
isaacs
ef35f4d6c1
Test for default host headers on default ports in https and http
2011-08-07 17:37:56 -07:00
Ryan Dahl
43d7cfca18
gyp: fix test runner
2011-08-06 03:12:06 -07:00
Bert Belder
9e8d812ce9
Make test-child-process-exec-env work on windows
2011-08-05 22:57:45 +02:00
Ben Noordhuis
30d20cf405
Revert commits 12c8b27
and 88f416a
, fixed properly in 2fe4558
.
2011-08-05 04:29:16 +02:00
Ben Noordhuis
ac722bbed6
module: strip byte order marker when loading *.js and *.json files
...
BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.
Fixes #1440 .
2011-08-04 16:52:55 +02:00
Ben Noordhuis
f9cfd70946
test: fix bad test in test-cli-eval.js
...
The test checked that stdout was empty. Forgetting to escape brackets
in the argument to --eval made that true on UNIX systems: the error
was written to stderr.
Props to Peter Bright for reporting the issue.
2011-08-04 16:43:11 +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
Mikeal Rogers
48dcb905f6
Update tests for http2.
2011-08-02 12:12:14 -07:00
Bert Belder
70bf121f21
Partial fix for test-child-process.cwd on windows
2011-08-02 03:27:19 +02:00
Ryan Dahl
2908f323e1
win: fix test-child-process-exec-cwd
2011-08-01 17:40:57 -07:00
Ryan Dahl
a44748b3d7
win2k3: fix test-child-process-env
2011-08-01 17:18:01 -07:00
Ryan Dahl
99c15e5661
child_process_uv: don't attempt to pass test-child-process-deprecated-api
2011-08-01 16:05:57 -07:00
Igor Zinkovsky
925b467a4e
fix test-child-process-env on windows
2011-08-01 14:49:10 -07:00
Ryan Dahl
1710bea355
Add a few more asserts to test/simple/test-child-process-stdin.js
2011-08-01 14:48:45 -07:00
Ryan Dahl
c48b2a98d8
windows: Fix test-module-load-list
2011-08-01 12:09:05 -07:00
Ryan Dahl
19a62589b2
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
2011-07-31 16:24:29 -07:00
Ryan Dahl
7772f21b60
initial pass at lib/child_process_uv.js
2011-07-31 15:58:10 -07:00
koichik
d3d8f1b972
Add %% escape to util.format()
...
Fixes #1273 .
2011-07-30 23:56:17 +09:00
Ryan Dahl
f01b241057
add wrapper for uv_spawn
...
process.binding('process_wrap')
2011-07-29 18:03:44 -07:00
Ben Noordhuis
874260b40f
util: add sprintf-like format() function
...
Fixes #1407 .
2011-07-30 02:11:31 +02:00
Fedor Indutny
9010f5fbab
Add support for TLS SNI
...
Fixes #1411
2011-07-29 16:57:28 -07:00
isaacs
703a1ffe52
Revert "AMD compatibility for node"
...
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
2011-07-29 11:56:38 -07:00
koichik
62aaf56d1b
Fix http.ClientRequest crashes if end() was called twice
...
Fixes #1417 .
Fixes #1223 .
2011-07-30 00:47:17 +09:00
Ryan Dahl
799c7bdcb6
Fix test-module-load-list for use-uv
2011-07-27 20:03:02 -07:00
Ryan Dahl
8527f00c3c
Lazy load a few modules
2011-07-27 19:54:31 -07:00
Ryan Dahl
ea9ee1fb7e
Add process.moduleLoadList for better startup transparency
2011-07-27 19:30:32 -07:00