()
| 226 | |
| 227 | #[test] |
| 228 | fn build_command_creates_user_bind_targets() { |
| 229 | let (_keep, root) = tmp_root(); |
| 230 | let (_keep2, src_root) = tmp_root(); |
| 231 | ChrootCmd::new(&root) |
| 232 | .bind(&src_root, &"/sysroot") |
| 233 | .build_command(["/bin/true"]) |
| 234 | .unwrap(); |
| 235 | assert!(root.join("sysroot").is_dir()); |
| 236 | } |
| 237 | |
| 238 | #[test] |
| 239 | fn build_command_rejects_empty_args() { |
nothing calls this directly
no test coverage detected