From 92cc8f6dda7292dd1f4abb27a5671f21848c6fbf Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Tue, 11 Jun 2024 17:41:22 -0700 Subject: [PATCH] Test fallback on Linux/Andorid Signed-off-by: Joe Richey --- src/linux_android_with_fallback.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/linux_android_with_fallback.rs b/src/linux_android_with_fallback.rs index 98fa15e8..7ed6c645 100644 --- a/src/linux_android_with_fallback.rs +++ b/src/linux_android_with_fallback.rs @@ -27,3 +27,8 @@ fn is_getrandom_available() -> bool { true } } + +#[cfg(test)] +mod fallback { + crate::tests::define_tests!(super::use_file::getrandom_inner); +}