diff --git a/.github/workflows/paru.yml b/.github/workflows/paru.yml index f9aab10b..0d924229 100644 --- a/.github/workflows/paru.yml +++ b/.github/workflows/paru.yml @@ -64,5 +64,6 @@ jobs: - name: Build run: cargo build --locked --features git,generate + - run: chown -R nobody: . - name: Test run: sudo -u nobody BUILDDIR=/tmp PKGDEST=/tmp SRCDEST=/tmp CARGO_HOME=/tmp/cargo cargo test --locked --features git,generate,mock --target-dir=/tmp -- --test-threads=1 --nocapture diff --git a/tests/common/mod.rs b/tests/common/mod.rs index ed0b1478..2d1650c2 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -58,17 +58,9 @@ async fn run(run_args: &[&str], repo: bool) -> Result<(TempDir, i32)> { .status()?; assert!(status.success()); } - println!("2"); - println!("{} {}", dir.display(), testdata.display()); - println!("{}", dir.join("cache/pkg").display()); - println!("2.4"); std::fs::create_dir_all(dir.join("cache/pkg"))?; - println!("2.5"); - Command::new("find").status(); - println!("{}", testdata.join("pkg").display()); std::fs::create_dir_all(testdata.join("pkg"))?; - println!("3"); let mut file = fs::OpenOptions::new() .append(true)