undo unpack_multiple_sources_into_the_same_destination_with_merge test

Signed-off-by: tommady <tommady@users.noreply.github.com>
This commit is contained in:
tommady 2025-07-16 11:56:35 +00:00
parent 2fa3fa2310
commit 51f9e732dc
No known key found for this signature in database
GPG Key ID: 175B664929DF2F2F

View File

@ -813,14 +813,13 @@ fn unpack_multiple_sources_into_the_same_destination_with_merge(
let temp_dir = tempdir()?; let temp_dir = tempdir()?;
let root_path = temp_dir.path(); let root_path = temp_dir.path();
let source_path = root_path let source_path = root_path
.join(format!("example_{}", merge_extensions(ext, &extra_extensions))) .join(format!("example_{}", merge_extensions(&ext, &extra_extensions)))
.join("sub_a") .join("sub_a")
.join("sub_b") .join("sub_b")
.join("sub_c"); .join("sub_c");
fs::create_dir_all(&source_path)?; fs::create_dir_all(&source_path)?;
let archive = root_path.join(format!("archive.{}", merge_extensions(&ext, &extra_extensions)));
let archive = root_path.join(format!("archive.{}", merge_extensions(ext, &extra_extensions)));
crate::utils::cargo_bin() crate::utils::cargo_bin()
.arg("compress") .arg("compress")
.args([ .args([
@ -834,8 +833,7 @@ fn unpack_multiple_sources_into_the_same_destination_with_merge(
fs::remove_dir_all(&source_path)?; fs::remove_dir_all(&source_path)?;
fs::create_dir_all(&source_path)?; fs::create_dir_all(&source_path)?;
let archive1 = root_path.join(format!("archive1.{}", merge_extensions(&ext, &extra_extensions)));
let archive1 = root_path.join(format!("archive1.{}", merge_extensions(ext, &extra_extensions)));
crate::utils::cargo_bin() crate::utils::cargo_bin()
.arg("compress") .arg("compress")
.args([ .args([
@ -847,7 +845,7 @@ fn unpack_multiple_sources_into_the_same_destination_with_merge(
.assert() .assert()
.success(); .success();
let out_path = root_path.join(format!("out_{}", merge_extensions(ext, &extra_extensions))); let out_path = root_path.join(format!("out_{}", merge_extensions(&ext, &extra_extensions)));
fs::create_dir_all(&out_path)?; fs::create_dir_all(&out_path)?;
crate::utils::cargo_bin() crate::utils::cargo_bin()