summaryrefslogtreecommitdiff
path: root/test/sys
diff options
context:
space:
mode:
authorNicolas Dusart <dusartnicolas@gmail.com>2017-07-20 14:03:27 +0200
committerMarcin Mielniczuk <marmistrz.dev@zoho.eu>2017-07-25 09:09:52 +0200
commit1c9e0ca620e70b7be1cc77a80b05ff1f36422eef (patch)
tree1e363b197c5beef474ce237b0e396ac3fb81aa95 /test/sys
parent085f47c1afa6fbde6ee484767b892666a2cbb567 (diff)
downloadnix-1c9e0ca620e70b7be1cc77a80b05ff1f36422eef.zip
fix some tests for Android
Diffstat (limited to 'test/sys')
-rw-r--r--test/sys/test_pthread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_pthread.rs b/test/sys/test_pthread.rs
index 092a95aa..a4f02772 100644
--- a/test/sys/test_pthread.rs
+++ b/test/sys/test_pthread.rs
@@ -3,5 +3,5 @@ use nix::sys::pthread::*;
#[test]
fn test_pthread_self() {
let tid = pthread_self();
- assert!(tid > 0);
+ assert!(tid != 0);
}