Skip to content

Commit

Permalink
Merge pull request #5876 from nalind/chroot-pivot_root-text
Browse files Browse the repository at this point in the history
Fix an error message in the chroot unit test
  • Loading branch information
openshift-merge-bot[bot] authored Dec 16, 2024
2 parents cf7d80a + 62709d7 commit 4018418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chroot/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func testMinimalWithPivot(t *testing.T, noPivot bool, modify func(g *generate.Ge

output := new(bytes.Buffer)
if err := RunUsingChroot(g.Config, bundleDir, "/", new(bytes.Buffer), output, output, noPivot); err != nil {
t.Fatalf("run(noPivot=false): %v: %s", err, output.String())
t.Fatalf("run(noPivot=%v): %v: %s", noPivot, err, output.String())
}

var report types.TestReport
Expand Down

0 comments on commit 4018418

Please sign in to comment.