nix-rust / nix

Rust friendly bindings to *nix APIs
MIT License
2.57k stars 650 forks source link

test: grab the SIGNAL_MTX lock in test_sigaction #2381

Closed SteveLauC closed 2 months ago

SteveLauC commented 2 months ago

What does this PR do

This test changes the process-wide signal handler so we should use a lock to serialize it with other tests.

cc @TheJonny

Checklist:

SteveLauC commented 2 months ago

This issue was found in #2375 by @TheJonny