summaryrefslogtreecommitdiff
path: root/test/utils/utils.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2022-03-15 14:44:18 -0700
committerJhon Honce <jhonce@redhat.com>2022-03-16 11:27:07 -0700
commit1387b5bd8a639fcc0c9f9e78cda2aee7bac61b7d (patch)
treef43473e581e6917e5d21eca989e8252aec878702 /test/utils/utils.go
parentca7376bb115e2d3506a3efe242bde25118f57c39 (diff)
downloadpodman-1387b5bd8a639fcc0c9f9e78cda2aee7bac61b7d.tar.gz
podman-1387b5bd8a639fcc0c9f9e78cda2aee7bac61b7d.tar.bz2
podman-1387b5bd8a639fcc0c9f9e78cda2aee7bac61b7d.zip
Add test for BZ #2052697
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test/utils/utils.go')
-rw-r--r--test/utils/utils.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go
index 14092a2a5..8fe45dca0 100644
--- a/test/utils/utils.go
+++ b/test/utils/utils.go
@@ -368,6 +368,7 @@ func CreateTempDirInTempDir() (string, error) {
// SystemExec is used to exec a system command to check its exit code or output
func SystemExec(command string, args []string) *PodmanSession {
c := exec.Command(command, args...)
+ fmt.Println("Execing " + c.String() + "\n")
session, err := Start(c, GinkgoWriter, GinkgoWriter)
if err != nil {
Fail(fmt.Sprintf("unable to run command: %s %s", command, strings.Join(args, " ")))
@@ -379,6 +380,7 @@ func SystemExec(command string, args []string) *PodmanSession {
// StartSystemExec is used to start exec a system command
func StartSystemExec(command string, args []string) *PodmanSession {
c := exec.Command(command, args...)
+ fmt.Println("Execing " + c.String() + "\n")
session, err := Start(c, GinkgoWriter, GinkgoWriter)
if err != nil {
Fail(fmt.Sprintf("unable to run command: %s %s", command, strings.Join(args, " ")))