test: fix testImageIDOutput

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-06-19 11:26:00 +02:00 committed by CrazyMax
parent 75ecc15958
commit 28a1eb3527
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ func testImageIDOutput(t *testing.T, sb integration.Sandbox) {
cmd := buildxCmd( cmd := buildxCmd(
sb, sb,
withArgs("build", "-q", outFlag, "--iidfile", filepath.Join(targetDir, "iid.txt"), "--metadata-file", filepath.Join(targetDir, "md.json"), dir), withArgs("build", "-q", "--provenance", "false", outFlag, "--iidfile", filepath.Join(targetDir, "iid.txt"), "--metadata-file", filepath.Join(targetDir, "md.json"), dir),
) )
stdout := bytes.NewBuffer(nil) stdout := bytes.NewBuffer(nil)
cmd.Stdout = stdout cmd.Stdout = stdout