mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-20 06:00:06 +08:00
The boot hook tests were failing on CI because they used ProcessHandle::spawn which applies Linux sandbox enforcement (seccomp, landlock, privilege dropping) in a pre_exec hook. On CI containers running as root, drop_privileges tried to switch to the non-existent sandbox user, causing EINVAL. Replace run_test_boot_hook and spawn_test_process with a test-specific implementation using plain tokio::process::Command that exercises boot hook logic without sandbox enforcement.