Commit bb6787c
test: add check to test-fs-readfile-tostring-fail
Check that all of the bytes were written to the temporary file before
reading it to catch the case where there is insufficient disk space.
PR-URL: #43850
Refs: #43833
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent bb5511e commit bb6787cCopy full SHA for bb6787c
File tree
Expand file treeCollapse file tree
1 file changed
+5
-1
lines changedOpen diff view settings
Filter options
- test/pummel
Expand file treeCollapse file tree
1 file changed
+5
-1
lines changedOpen diff view settings
Collapse file
test/pummel/test-fs-readfile-tostring-fail.js
Copy file name to clipboardExpand all lines: test/pummel/test-fs-readfile-tostring-fail.js+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
28 | 29 | |
29 | 30 | |
30 | | - |
| 31 | + |
| 32 | + |
31 | 33 | |
32 | 34 | |
33 | 35 | |
34 | 36 | |
| 37 | + |
| 38 | + |
35 | 39 | |
36 | 40 | |
37 | 41 | |
|
0 commit comments