Commit 5b78bf2
test: work around ENOTEMPTY when cleaning tmp dir
Replace the homegrown rimrafsync implementation in test/common with
a call to `fs.rmdirSync(path, { recursive: true })`.
Fixes: #30620
Fixes: #30844
PR-URL: #30849
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent b1358d3 commit 5b78bf2Copy full SHA for 5b78bf2
File tree
Expand file treeCollapse file tree
5 files changed
+7
-46
lines changedOpen diff view settings
Filter options
- test
- async-hooks
- common
- parallel
Expand file treeCollapse file tree
5 files changed
+7
-46
lines changedOpen diff view settings
Collapse file
test/async-hooks/test-pipeconnectwrap.js
Copy file name to clipboardExpand all lines: test/async-hooks/test-pipeconnectwrap.js+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
12 | | - |
| 11 | + |
13 | 12 | |
14 | 13 | |
15 | 14 | |
|
Collapse file
test/async-hooks/test-statwatcher.js
Copy file name to clipboardExpand all lines: test/async-hooks/test-statwatcher.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
| 14 | + |
15 | 15 | |
16 | 16 | |
17 | 17 | |
|
Collapse file
+1-5Lines changed: 1 addition & 5 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
898 | 898 | |
899 | 899 | |
900 | 900 | |
901 | | - |
902 | | - |
903 | | - |
904 | | - |
905 | | - |
| 901 | + |
906 | 902 | |
907 | 903 | |
908 | 904 | |
|
Collapse file
+4-34Lines changed: 4 additions & 34 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | 4 | |
6 | 5 | |
7 | | - |
8 | 6 | |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
| 7 | + |
| 8 | + |
39 | 9 | |
40 | 10 | |
41 | 11 | |
| ||
46 | 16 | |
47 | 17 | |
48 | 18 | |
49 | | - |
50 | | - |
| 19 | + |
| 20 | + |
51 | 21 | |
52 | 22 | |
53 | 23 | |
|
Collapse file
test/parallel/parallel.status
Copy file name to clipboardExpand all lines: test/parallel/parallel.status-4Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
15 | | - |
16 | 14 | |
17 | 15 | |
18 | 16 | |
| ||
23 | 21 | |
24 | 22 | |
25 | 23 | |
26 | | - |
27 | | - |
28 | 24 | |
29 | 25 | |
30 | 26 | |
|
0 commit comments