Commit 6f32584
committed
test(selfupdate): make executable-bit assertion Unix-only
Windows file modes don't carry a Unix executable bit, so the
TestDownloadVerifyExtract perm check failed on windows-latest CI. The runner
only ever self-updates on systemd-Linux; guard the assertion with
runtime.GOOS so the (still meaningful) download/verify/extract coverage runs
on every platform while the Unix-only bit check is skipped on Windows.1 parent 926d311 commit 6f32584
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
0 commit comments