mirror of
https://github.com/containers/podman.git
synced 2025-08-24 18:12:25 +08:00

This test a pretty much useless, it checks that a connection attempt on the default socket fails. But this is incorrect as the socket is outside of the test control as such it might be ready to accept connections as thus the test can fail locally or as reported here in the debian tests. Given that a simple connection fails does not add any value I opted to remove it. Fixes #24803 Signed-off-by: Paul Holzinger <git@holzinger.dev>
23 lines
657 B
Go
23 lines
657 B
Go
//go:build linux || freebsd
|
|
|
|
package integration
|
|
|
|
import (
|
|
. "github.com/containers/podman/v5/test/utils"
|
|
. "github.com/onsi/ginkgo/v2"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
var _ = Describe("podman system dial-stdio", func() {
|
|
|
|
It("podman system dial-stdio help", func() {
|
|
session := podmanTest.Podman([]string{"system", "dial-stdio", "--help"})
|
|
session.WaitWithDefaultTimeout()
|
|
Expect(session).Should(ExitCleanly())
|
|
Expect(session.OutputToString()).To(ContainSubstring("Examples: podman system dial-stdio"))
|
|
})
|
|
|
|
// TODO: this should have a proper connection test where we spawn a server
|
|
// and the use dial-stdio to connect to it and send data.
|
|
})
|