Commit 527db40
test: add coverage for execFileSync() errors
This commit adds coverage for errors returned by execFileSync()
when the child process exits with a non-zero code.
PR-URL: #9211
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 91fce10 commit 527db40Copy full SHA for 527db40
File tree
Expand file treeCollapse file tree
1 file changed
+16
-0
lines changedOpen diff view settings
Filter options
- test/sequential
Expand file treeCollapse file tree
1 file changed
+16
-0
lines changedOpen diff view settings
Collapse file
test/sequential/test-child-process-execsync.js
Copy file name to clipboardExpand all lines: test/sequential/test-child-process-execsync.js+16Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
87 | 87 | |
88 | 88 | |
89 | 89 | |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
0 commit comments