mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> (cherry picked from commit 57d737a13c9e7484753d796407582a9a3997d7d2)
13 lines
292 B
Go
13 lines
292 B
Go
package tests
|
|
|
|
import (
|
|
"github.com/moby/buildkit/util/testutil/integration"
|
|
)
|
|
|
|
func rmCmd(sb integration.Sandbox, opts ...cmdOpt) (string, error) {
|
|
opts = append([]cmdOpt{withArgs("rm")}, opts...)
|
|
cmd := buildxCmd(sb, opts...)
|
|
out, err := cmd.CombinedOutput()
|
|
return string(out), err
|
|
}
|