Commit 398dd87
committed
test: the cache permission check is POSIX-only
The Windows leg of the matrix caught this: os.Stat there synthesises
0666/0777 and only the read-only flag round-trips, so the 0600/0700 the
code passes is unobservable and the assertion could never hold. Skipped
with that reason rather than weakened — on Windows the protection comes
from the ACL that %LocalAppData% (os.UserCacheDir) already restricts to
the user, not from mode bits.
beep boop1 parent cbed4c6 commit 398dd87
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
| |||
0 commit comments