summaryrefslogtreecommitdiff
path: root/test/sys
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2017-07-11 11:36:15 -0700
committerBryant Mairs <bryant@mai.rs>2017-07-19 07:19:26 -0700
commit33e4aa792010f46d93fd4372ed1c9d7d34bc6c69 (patch)
tree09a6de26f48c39694118ad2b12ba087e2605ab06 /test/sys
parentbbad1773b456ee8bd700e3201ac2be016c7389a2 (diff)
downloadnix-33e4aa792010f46d93fd4372ed1c9d7d34bc6c69.zip
Re-add bad variant of ioctl!
Diffstat (limited to 'test/sys')
-rw-r--r--test/sys/test_ioctl.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sys/test_ioctl.rs b/test/sys/test_ioctl.rs
index 55b61fd7..8a5b8a12 100644
--- a/test/sys/test_ioctl.rs
+++ b/test/sys/test_ioctl.rs
@@ -1,7 +1,7 @@
#![allow(dead_code)]
// Simple tests to ensure macro generated fns compile
-ioctl!(do_bad with 0x1234);
+ioctl!(bad do_bad with 0x1234);
ioctl!(none do_none with 0, 0);
ioctl!(read read_test with 0, 0; u32);
ioctl!(write write_test with 0, 0; u64);
@@ -82,7 +82,7 @@ mod linux {
#[test]
fn test_op_read_write_64() {
assert_eq!(iorw!(b'z', 10, (1 as u64) << 32), 0xC0007A0A);
- }
+ }
}
#[cfg(any(target_os = "macos",
@@ -132,5 +132,5 @@ mod bsd {
#[test]
fn test_op_read_write_64() {
assert_eq!(iorw!(b'z', 10, (1 as u64) << 32), 0xC0007A0A);
- }
+ }
}