Commit 96e2349
committed
fix: make TestCheckSocketRoundTrip resilient to restricted CI containers
GitHub Actions containers block bind-mounts even with --cap-add SYS_ADMIN.
The test now falls back to a plain regular file for /dev/null (functionally
equivalent for the check child) when the bind mount fails, keeping the
stub -> socket -> chroot round-trip test green in the distro matrix.1 parent 3f1ee48 commit 96e2349
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
216 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
217 | 221 | | |
218 | | - | |
219 | 222 | | |
220 | 223 | | |
221 | 224 | | |
| |||
0 commit comments