summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2017-12-08 14:44:02 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2017-12-08 14:44:02 +0000
commit7eaa20810a656158e4d57b792c58481f10987788 (patch)
tree0d2611e909d5eaa301211bdd0cb321ac57852d92 /test
parentd96518cf1b1877f1d8445e3e0e878fd25fbc822c (diff)
parenta79d228de73141f9e816d4f23ebd0c8c4ed37f6f (diff)
downloadnix-7eaa20810a656158e4d57b792c58481f10987788.zip
Merge #807
807: Switch to libc definitons of errno constants r=Susurrus a=Susurrus Still need to do OpenBSD and NetBSD. Primary goal with this first pass is to see what doesn't exist properly in `libc`. Closes #487.
Diffstat (limited to 'test')
-rw-r--r--test/test.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/test.rs b/test/test.rs
index f4942d3d..42065694 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -9,8 +9,6 @@ extern crate rand;
extern crate tempdir;
extern crate tempfile;
-extern crate nix_test as nixtest;
-
mod sys;
mod test_fcntl;
#[cfg(target_os = "linux")]
@@ -24,7 +22,6 @@ mod test_sendfile;
mod test_stat;
mod test_unistd;
-use nixtest::assert_size_of;
use std::os::unix::io::RawFd;
use std::sync::Mutex;
use nix::unistd::read;
@@ -54,10 +51,3 @@ lazy_static! {
/// Any test that alters signal handling must grab this mutex.
pub static ref SIGNAL_MTX: Mutex<()> = Mutex::new(());
}
-
-#[test]
-pub fn test_size_of_long() {
- // This test is mostly here to ensure that 32bit CI is correctly
- // functioning
- assert_size_of::<usize>("long");
-}