summaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2017-04-15 12:39:05 -0600
committerAlan Somers <asomers@gmail.com>2017-04-15 15:31:20 -0600
commit46ed256ff68b6a545436aac4c2ec34b93627811a (patch)
treebfa129a390ee91ecf635ea5bf2dc394271bf598f /test/test.rs
parent635c8718eede6d7f6a50cf9954a9af8603d2fa1d (diff)
downloadnix-46ed256ff68b6a545436aac4c2ec34b93627811a.zip
tests should protect concurrent access to signal handlers
Adds a mutex to protect access to SIGUSR2 signal handlers by the AIO tests. Fixes #578
Diffstat (limited to 'test/test.rs')
-rw-r--r--test/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs
index d10970d6..1357642e 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -1,5 +1,7 @@
#[macro_use]
extern crate nix;
+#[macro_use]
+extern crate lazy_static;
extern crate libc;
extern crate rand;
extern crate tempdir;