mirror of
https://github.com/containers/podman.git
synced 2026-07-10 15:25:00 -04:00
The podman module paths are moving from github.com/containers/podman to go.podman.io/podman. This will help with future mobility. Signed-off-by: Brent Baude <bbaude@redhat.com>
24 lines
552 B
Go
24 lines
552 B
Go
//go:build linux || freebsd
|
|
|
|
package integration
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
. "github.com/onsi/ginkgo/v2"
|
|
. "github.com/onsi/gomega"
|
|
. "go.podman.io/podman/v6/test/utils"
|
|
)
|
|
|
|
var _ = Describe("Podman negative command-line", func() {
|
|
It("podman snuffleupagus exits non-zero", func() {
|
|
session := podmanTest.Podman([]string{"snuffleupagus"})
|
|
session.WaitWithDefaultTimeout()
|
|
cmdName := "podman"
|
|
if IsRemote() {
|
|
cmdName += "-remote"
|
|
}
|
|
Expect(session).To(ExitWithError(125, fmt.Sprintf("unrecognized command `%s snuffleupagus`", cmdName)))
|
|
})
|
|
})
|