Commit 4b2e886
test: use common.canCreateSymLink() consistently
This commit replaces two ad hoc symlink permission tests with
common.canCreateSymLink().
PR-URL: #20540
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent b6168bb commit 4b2e886Copy full SHA for 4b2e886
File tree
Expand file treeCollapse file tree
2 files changed
+4
-34
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
2 files changed
+4
-34
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-realpath.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-realpath.js+2-19Lines changed: 2 additions & 19 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
31 | 30 | |
32 | 31 | |
33 | 32 | |
34 | | - |
| 33 | + |
35 | 34 | |
36 | 35 | |
37 | 36 | |
| ||
45 | 44 | |
46 | 45 | |
47 | 46 | |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | 47 | |
66 | 48 | |
| 49 | + |
67 | 50 | |
68 | 51 | |
69 | 52 | |
|
Collapse file
test/parallel/test-trace-events-fs-sync.js
Copy file name to clipboardExpand all lines: test/parallel/test-trace-events-fs-sync.js+2-15Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
13 | 12 | |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
| 13 | + |
27 | 14 | |
28 | 15 | |
29 | 16 | |
| ||
111 | 98 | |
112 | 99 | |
113 | 100 | |
114 | | - |
| 101 | + |
115 | 102 | |
116 | 103 | |
117 | 104 | |
|
0 commit comments