initfs: Use CARGO_TARGET_TMPDIR in test

This commit is contained in:
bjorn3
2026-02-17 19:51:55 +01:00
parent 223b497234
commit 3e62ff9ec7
3 changed files with 1 additions and 5 deletions
Binary file not shown.
+1 -1
View File
@@ -75,7 +75,7 @@ fn archive_and_read() -> Result<()> {
env_logger::init();
let args = redox_initfs_tools::Args {
destination_path: Path::new("out.img"),
destination_path: &Path::new(env!("CARGO_TARGET_TMPDIR")).join("out.img"),
source: Path::new("data"),
bootstrap_code: None,
max_size: redox_initfs_tools::DEFAULT_MAX_SIZE,