()
| 6 | |
| 7 | #[test] |
| 8 | fn test_kernel_version() { |
| 9 | assert_eq!(libc::KERNEL_VERSION(6, 0, 0), 393216); |
| 10 | // Check that the patch level saturates |
| 11 | assert_eq!(libc::KERNEL_VERSION(6, 0, 255), 393471); |
| 12 | assert_eq!(libc::KERNEL_VERSION(6, 0, 256), 393471); |
| 13 | assert_eq!(libc::KERNEL_VERSION(6, 0, 300), 393471); |
| 14 | assert_eq!(libc::KERNEL_VERSION(6, 0, u32::MAX), 393471); |
| 15 | } |
| 16 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…