fn run_stat()

in src/fs.rs [812:827]


    fn run_stat(path: &str, cwd: &str) {
        info!("about to run stat {} in cwd: {}", path, cwd);

        let now = std::time::Instant::now();
        let output = Command::new("stat")
            .arg(path)
            .current_dir(cwd)
            .output()
            .expect("stat failed");

        info!("status: {}", output.status);
        info!("stdout: {}", String::from_utf8_lossy(&output.stdout));
        info!("stderr: {}", String::from_utf8_lossy(&output.stderr));
        info!("inside run_cp: {:#?}", now.elapsed());
        assert!(output.status.success());
    }