From a7ebd89b428930c492d7cd2905cc0741c108a4ed Mon Sep 17 00:00:00 2001 From: Jamie Hewland Date: Sat, 9 Sep 2017 21:18:44 +0200 Subject: groups tests: Add groups mutex and print message when tests skipped Fix groups mutex name --- test/test.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/test.rs') diff --git a/test/test.rs b/test/test.rs index 1b73c4ff..f4942d3d 100644 --- a/test/test.rs +++ b/test/test.rs @@ -43,6 +43,9 @@ lazy_static! { /// Any test that changes the process's current working directory must grab /// this mutex pub static ref CWD_MTX: Mutex<()> = Mutex::new(()); + /// Any test that changes the process's supplementary groups must grab this + /// mutex + pub static ref GROUPS_MTX: Mutex<()> = Mutex::new(()); /// 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(()); -- cgit v1.2.3