diff options
Diffstat (limited to 'tests/kata.rs')
| -rw-r--r-- | tests/kata.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/kata.rs b/tests/kata.rs index a87a800..271a36f 100644 --- a/tests/kata.rs +++ b/tests/kata.rs @@ -13,7 +13,6 @@ use common::{env_with_fixture, shim_dir}; // lease provisions, and the TTL expiry of a sandbox that never dials in — moved // into src/sandbox/kata.rs, where that machinery is declared. - fn agent_sandbox_config() -> Config { let tmp = tempfile::tempdir().unwrap(); std::fs::write( @@ -45,9 +44,7 @@ fn a_provisioned_sandbox_rendezvous_and_runs_a_command() { let sbx = backend .acquire(&SandboxSpec::new("extra-x86_64", "build-1", Duration::from_secs(15))) .expect("the provisioned agent should dial in and rendezvous"); - let out = sbx - .run(&Cmd::new(["/bin/echo", "hi from the sandbox"]), &mut |_| {}) - .unwrap(); + let out = sbx.run(&Cmd::new(["/bin/echo", "hi from the sandbox"]), &mut |_| {}).unwrap(); assert!(out.success()); assert_eq!(String::from_utf8_lossy(&out.stdout), "hi from the sandbox\n"); sbx.destroy().unwrap(); |
