test(runtime): update boundary fixtures for current contracts

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
This commit is contained in:
Drew Newberry
2026-10-13 08:24:12 -07:00
parent ba0db3172d
commit 3425468f52
2 changed files with 14 additions and 1 deletions
@@ -49,7 +49,8 @@ mod tests {
},
"landlock_abi": 3, "landlock_allow_deny": true,
"udp_dns_round_trip": true, "tcp_dns_round_trip": true,
"tcp_allow_round_trip": true, "tcp_deny_round_trip": true
"tcp_allow_round_trip": true, "tcp_deny_round_trip": true,
"socket_loopback_confinement": true
});
let properties = LinuxBoundaryAuditValidator.validate(&evidence).unwrap();
let audit: crate::boundary_protocol::NativeLinuxSandboxAuditEvidence =
@@ -357,6 +357,18 @@ impl NetworkMediationSource for TestIo {
#[tonic::async_trait]
impl BoundaryProcess for TestIo {
async fn attach(
&self,
) -> std::result::Result<openshell_isolation_interface::contract::ProcessAttachment, BackendError>
{
Ok(openshell_isolation_interface::contract::ProcessAttachment {
stdin: Box::new(tokio::io::sink()),
stdout: Box::new(tokio::io::empty()),
stderr: Some(Box::new(tokio::io::empty())),
terminal: None,
})
}
async fn wait(&self) -> std::result::Result<BoundaryExitStatus, BackendError> {
Ok(BoundaryExitStatus::Exited(0))
}