()
| 1025 | |
| 1026 | #[test] |
| 1027 | fn proc_in_read_only_without_gpu() { |
| 1028 | if has_gpu_devices() { |
| 1029 | // On a GPU host we can't test the non-GPU path; skip silently. |
| 1030 | return; |
| 1031 | } |
| 1032 | let (ro, _rw) = baseline_enrichment_paths(); |
| 1033 | assert!( |
| 1034 | ro.contains(&"/proc".to_string()), |
| 1035 | "/proc should be in read_only when GPU is not present" |
| 1036 | ); |
| 1037 | } |
| 1038 | |
| 1039 | #[test] |
| 1040 | fn baseline_read_write_always_includes_sandbox_and_tmp() { |
nothing calls this directly
no test coverage detected