Skip to content

Commit

Permalink
runtime: chmod busybox so test passes
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hunt <[email protected]>
  • Loading branch information
haircommander committed Oct 1, 2024
1 parent 894e720 commit 902f2cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runner/conmon_test/runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ var _ = Describe("runc", func() {

tmpPidFile = filepath.Join(tmpDir, "pidfile")

Expect(os.Link(busyboxDest, filepath.Join(tmpRootfs, "busybox"))).To(BeNil())
busyboxPath := filepath.Join(tmpRootfs, "busybox")
Expect(os.Link(busyboxDest, busyboxPath)).To(BeNil())
Expect(os.Chmod(busyboxPath, 0777)).To(BeNil())

// finally, create config.json
_, err = generateRuntimeConfig(tmpDir, tmpRootfs)
Expand Down

0 comments on commit 902f2cc

Please sign in to comment.