summaryrefslogtreecommitdiff
path: root/test/sys/test_ioctl.rs
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2017-07-11 09:55:47 -0700
committerBryant Mairs <bryant@mai.rs>2017-07-19 07:19:26 -0700
commit7e2bbdc75ab335ee4c34f8ed4a8d507663080a10 (patch)
tree9520c4008b01a3b1e3e01a220ad6e5a5a1f44ac1 /test/sys/test_ioctl.rs
parent33e4aa792010f46d93fd4372ed1c9d7d34bc6c69 (diff)
downloadnix-7e2bbdc75ab335ee4c34f8ed4a8d507663080a10.zip
Add a "bad none" variant to the ioctl macro
Diffstat (limited to 'test/sys/test_ioctl.rs')
-rw-r--r--test/sys/test_ioctl.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sys/test_ioctl.rs b/test/sys/test_ioctl.rs
index 8a5b8a12..c0ae078a 100644
--- a/test/sys/test_ioctl.rs
+++ b/test/sys/test_ioctl.rs
@@ -2,6 +2,7 @@
// Simple tests to ensure macro generated fns compile
ioctl!(bad do_bad with 0x1234);
+ioctl!(bad none do_bad_none 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);