Skip to content

Commit

Permalink
tests: Debug ENOSPC
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Jun 11, 2024
1 parent 5109733 commit 9c0571b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
df -h /
sudo install -m 0755 target/release/tests-integration /usr/bin/bootc-integration-tests
rm target -rf
df -h /
df -h / /var/tmp
# Nondestructive but privileged tests
sudo bootc-integration-tests host-privileged localhost/bootc
# Finally the install-alongside suite
Expand Down
1 change: 1 addition & 0 deletions tests-integration/src/hostpriv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fn test_loopback_install(image: &'static str) -> Result<()> {
tmpdisk.as_file_mut().set_len(size)?;
let tmpdisk = tmpdisk.into_temp_path();
let tmpdisk = tmpdisk.to_str().unwrap();
cmd!(sh, "df -h /var/tmp").ignore_status().run()?;
cmd!(sh, "sudo {base_args...} -v {tmpdisk}:/disk {image} bootc install to-disk --via-loopback --skip-fetch-check /disk").run()?;
Ok(())
}
Expand Down

0 comments on commit 9c0571b

Please sign in to comment.