mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
fix pod volume passing and alter infra inheritance
the infra Inherit function was not properly passing pod volume information to new containers alter the inherit function and struct to use the new `ConfigToSpec` function used in clone pick and choose the proper entities from a temp spec and validate them on the spegen side rather than passing directly to a config resolves #13548 Signed-off-by: cdoern <cbdoer23@g.holycross.edu> Signed-off-by: cdoern <cdoern@redhat.com> Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
This commit is contained in:
@ -874,6 +874,10 @@ ENTRYPOINT ["sleep","99999"]
|
||||
ctr3 := podmanTest.Podman([]string{"run", "--pod", podName, ALPINE, "cat", "/tmp1/test"})
|
||||
ctr3.WaitWithDefaultTimeout()
|
||||
Expect(ctr3.OutputToString()).To(ContainSubstring("hello"))
|
||||
|
||||
ctr4 := podmanTest.Podman([]string{"run", "--pod", podName, ALPINE, "touch", "/tmp1/testing.txt"})
|
||||
ctr4.WaitWithDefaultTimeout()
|
||||
Expect(ctr4).Should(Exit(0))
|
||||
})
|
||||
|
||||
It("podman pod create --device", func() {
|
||||
|
Reference in New Issue
Block a user