Add reproducible unprivileged Linux build and mount checks

This commit is contained in:
2026-10-09 18:32:37 -04:00
parent 8b177e21a0
commit 988aad9951
11 changed files with 212 additions and 10 deletions
+3 -3
View File
@@ -10,12 +10,12 @@ fn setup_test_dir() -> TempDir {
// Create a moderately deep structure
for i in 0..10 {
let dir_path = base_path.join(format!("dir_{}", i));
let dir_path = base_path.join(format!("dir_{i}"));
fs::create_dir(&dir_path).unwrap();
for j in 0..10 {
let file_path = dir_path.join(format!("file_{}.txt", j));
let file_path = dir_path.join(format!("file_{j}.txt"));
let mut file = File::create(file_path).unwrap();
writeln!(file, "Some content for file {}-{}", i, j).unwrap();
writeln!(file, "Some content for file {i}-{j}").unwrap();
}
}
temp_dir