proot-me / proot-rs

Rust implementation of PRoot, a ptrace-based sandbox
GNU General Public License v3.0
129 stars 21 forks source link

Fix deadlock in unit test #65

Closed imlk0 closed 2 years ago

imlk0 commented 2 years ago

This commit fix a deadlock in unit test. The root cause of deadlocks is the use of fork() in a multi-threaded test environment.

By setting --test-threads=1 the deadlock can be avoided .