summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2017-12-03 13:26:52 -0800
committerBryant Mairs <bryantmairs@google.com>2017-12-05 07:48:38 -0800
commit4013fa48487ea9ae917932488858b95d626c611e (patch)
tree51378718336fb37da7564073e312f12af7516cea /test
parent28d82265aefdcf1cc3ef6effcb96dd5607a3ec94 (diff)
downloadnix-4013fa48487ea9ae917932488858b95d626c611e.zip
Remove nix-test subcrate
This was doing testing for errno constants and a few other types that is no longer necessary now that these types are all tested within the libc project itself.
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");
-}