main: show output directory content after image build
This commit adds the content of the output directory when a build is finished. This is a convenient feature to make it easier for the users. Thanks to Simon for suggesting this!
This commit is contained in:
parent
2895e71064
commit
d4c31389a9
2 changed files with 18 additions and 2 deletions
|
|
@ -391,7 +391,9 @@ func TestBuildIntegrationHappy(t *testing.T) {
|
|||
})
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.Contains(t, fakeStdout.String(), `Image build successful, result in "centos-9-qcow2-x86_64"`+"\n")
|
||||
assert.Contains(t, fakeStdout.String(), `Image build successful, results:
|
||||
centos-9-qcow2-x86_64/centos-9-qcow2-x86_64.qcow2
|
||||
`)
|
||||
|
||||
// ensure osbuild was run exactly one
|
||||
require.Equal(t, 1, len(fakeOsbuildCmd.Calls()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue