From c8cbbab3eb02794a3a23c7efdcab862810d8590b Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Thu, 13 Jul 2017 11:53:31 -0700 Subject: Add 'bad' prefixes for read, write_*, and readwrite ioctls --- test/sys/test_ioctl.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/sys/test_ioctl.rs b/test/sys/test_ioctl.rs index 7f0018d3..18432266 100644 --- a/test/sys/test_ioctl.rs +++ b/test/sys/test_ioctl.rs @@ -1,8 +1,11 @@ #![allow(dead_code)] // Simple tests to ensure macro generated fns compile -ioctl!(bad do_bad with 0x1234); -ioctl!(bad none do_bad_none with 0x1234); +ioctl!(bad none do_bad with 0x1234); +ioctl!(bad read do_bad_read with 0x1234; u16); +ioctl!(bad write_int do_bad_write_int with 0x1234); +ioctl!(bad write_ptr do_bad_write_ptr with 0x1234; u8); +ioctl!(bad readwrite do_bad_readwrite with 0x1234; u32); ioctl!(none do_none with 0, 0); ioctl!(read read_test with 0, 0; u32); ioctl!(write_int write_ptr_int with 0, 0); -- cgit v1.2.3