Commit 7be4e49
child_process: check execFile and fork args
Port of joyent/node commits:
* nodejs/node-v0.x-archive@e17c5a7
* nodejs/node-v0.x-archive@70dafa7
Pull over test-child-process-spawn-typeerror.js from v0.12, replacing
the existing test in master. The new test includes a broader set of
tests on the various arg choices and throws.
Reviewed-By: trevnorris - Trevor Norris <trevnorris@nodejs.org>
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: thefourtheye - Sakthipriyan Vairamani
PR-URL: #2667
Fixes: #25151 parent b2c5479 commit 7be4e49Copy full SHA for 7be4e49
File tree
Expand file treeCollapse file tree
2 files changed
+114
-19
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+114
-19
lines changedOpen diff view settings
Collapse file
+20-10Lines changed: 20 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
| 26 | + |
| 27 | + |
26 | 28 | |
27 | 29 | |
28 | 30 | |
| ||
108 | 110 | |
109 | 111 | |
110 | 112 | |
111 | | - |
| 113 | + |
112 | 114 | |
113 | 115 | |
114 | 116 | |
| ||
118 | 120 | |
119 | 121 | |
120 | 122 | |
121 | | - |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
122 | 130 | |
123 | | - |
124 | | - |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
125 | 135 | |
126 | 136 | |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
133 | 143 | |
134 | 144 | |
135 | 145 | |
|
Collapse file
test/parallel/test-child-process-spawn-typeerror.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-spawn-typeerror.js+94-9Lines changed: 94 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
10 | 14 | |
11 | | - |
| 15 | + |
| 16 | + |
12 | 17 | |
13 | 18 | |
14 | 19 | |
| ||
49 | 54 | |
50 | 55 | |
51 | 56 | |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
0 commit comments