diff options
Diffstat (limited to 'test/test.rs')
-rw-r--r-- | test/test.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs index eb4556fa..fab499ce 100644 --- a/test/test.rs +++ b/test/test.rs @@ -45,6 +45,8 @@ lazy_static! { /// Any test that creates child processes must grab this mutex, regardless /// of what it does with those children. pub static ref FORK_MTX: Mutex<()> = Mutex::new(()); + /// Any test that calls ptsname(3) must grab this mutex. + pub static ref PTSNAME_MTX: Mutex<()> = Mutex::new(()); /// Any test that alters signal handling must grab this mutex. pub static ref SIGNAL_MTX: Mutex<()> = Mutex::new(()); } |