Skip to content

follow-up TestLoadStdinFromPipe #1409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cmd/nerdctl/load_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ import (
)

func TestLoadStdinFromPipe(t *testing.T) {
t.Parallel()
base := testutil.NewBase(t)

tmp := t.TempDir()
base.Cmd("pull", testutil.CommonImage).AssertOK()
base.Cmd("save", testutil.CommonImage, "-o", filepath.Join(tmp, "common.tar")).AssertOK()

base.Cmd("rmi", testutil.CommonImage).AssertOK()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not remove the image since it was named common image and did not want to slow down CI. I am not sure of the intention of why it was named like this. But LGTM

loadCmd := strings.Join(base.Cmd("load").Command, " ")
output := filepath.Join(tmp, "output")

Expand Down