Skip to content

Commit

Permalink
Merge pull request #454 from jeckersb/privtests-contexts
Browse files Browse the repository at this point in the history
privtests: Differentiate duplicate contexts
  • Loading branch information
jeckersb committed Apr 3, 2024
2 parents 631e6bf + b0183ed commit 8a7a0b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/privtests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub(crate) fn impl_run_container() -> Result<()> {
Ok(())
}

#[context("Container tests")]
#[context("Prep test install filesystem")]
fn prep_test_install_filesystem(blockdev: &Utf8Path) -> Result<tempfile::TempDir> {
let sh = Shell::new()?;
// Arbitrarily larger partition offsets
Expand Down Expand Up @@ -151,7 +151,7 @@ fn prep_test_install_filesystem(blockdev: &Utf8Path) -> Result<tempfile::TempDir
Ok(mountpoint_dir)
}

#[context("Container tests")]
#[context("Test install filesystem")]
fn test_install_filesystem(image: &str, blockdev: &Utf8Path) -> Result<()> {
let sh = Shell::new()?;

Expand Down

0 comments on commit 8a7a0b0

Please sign in to comment.