in src/fs.rs [1112:1134]
fn mount_and_ls<'a>() {
init();
// Mount the filesystem and run ls.
info!("Running mount_and_ls");
let dir = tempfile::Builder::new()
.prefix("mount_and_ls")
.tempdir()
.unwrap();
let mnt = dir.into_path();
let mnt_str = String::from(mnt.to_str().unwrap());
let fs = mount_tempdir_ro(mnt);
info!("mounted fs at {} on thread {:#?}", mnt_str, fs);
run_ls(&mnt_str);
let subdir = format!("{}/{}", mnt_str, LANDSAT_SUBDIR);
info!("now ls in the subdir {}", subdir);
run_ls(&subdir);
drop(fs);
}