Repository navigation
Commit 6f794ee
committed
test(hotkey): give the Linux socket tests their own directory
Every backend::linux test failed on CI with
spawn_at: Backend("Operation not permitted (os error 1)")
while passing locally. bind() chmods the socket's PARENT directory to
0700, which is right in production (the parent is our own subdirectory of
$XDG_RUNTIME_DIR) and impossible when the test puts its socket straight
into a shared /tmp: chmodding a directory you do not own is EPERM. It
passed on a laptop only because /tmp there happened to be owned by the
test user.
Each test now gets its own directory to own.1 parent 65c0a04 commit 6f794ee
1 file changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
497 | 508 | | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
503 | 513 | | |
504 | 514 | | |
505 | 515 | | |
| |||
0 commit comments