// SPDX-License-Identifier: GPL-3.0-or-later use molotov_core::tls::BionicTls; #[test] fn test_bionic_tls_allocation() { let tls = BionicTls::allocate().expect("Bionic TLS block should allocate cleanly"); assert!(!tls.tcb_ptr().is_null()); assert_eq!(tls.tcb_ptr() as usize % 64, 0, "TLS pointer must be 64-byte aligned"); }