Commit 5690327
André Lange
test(doctor): skip chmod-unreadable test as root too (Forgejo CI runs as root)
The Forgejo runner executes jobs as root, which bypasses chmod 0o000 — the
file stays readable so _check_config_file_paths reports passed=True and the
test's 'assert passed is False' fails. Extend the existing Windows skipif to
also skip when euid==0 (same rationale: chmod-based unreadability has no effect).
711/712 already green on Forgejo; this makes it 712.1 parent a3536d0 commit 5690327
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
104 | | - | |
| 104 | + | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
0 commit comments