test: rename and update lib32 installation tests to reflect changes in path handling

This commit is contained in:
2026-03-15 23:05:24 -05:00
parent 99ceacdb64
commit 4ac242ed7b
3 changed files with 6 additions and 104 deletions
+2 -5
View File
@@ -489,7 +489,7 @@ exit 0
}
#[test]
fn test_build_lib32_stages_usr_lib_and_keeps_non_library_paths() -> Result<()> {
fn test_build_lib32_stages_only_usr_lib_payload() -> Result<()> {
let tmp_src = tempdir()?;
let tmp_dest = tempdir()?;
let tmp_tools = tempdir()?;
@@ -545,10 +545,7 @@ exec "$@"
std::fs::read_to_string(tmp_dest.path().join("usr/lib32/libfoo.so.1"))?,
"lib32"
);
assert_eq!(
std::fs::read_to_string(tmp_dest.path().join("usr/share/man/man1/foo.1"))?,
"manpage"
);
assert!(!tmp_dest.path().join("usr/share/man/man1/foo.1").exists());
assert!(!tmp_dest.path().join("usr/lib").exists());
Ok(())