summaryrefslogtreecommitdiff
path: root/test/utils/podmantest_test.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-11-22 10:57:05 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2018-11-27 21:10:15 +0100
commit266c4952a89be89b1741f9fa69443f51387dd5c6 (patch)
tree4a2c8b6162053964625906ee99cf6f6b5dad1220 /test/utils/podmantest_test.go
parent6df7409cb5a41c710164c42ed35e33b28f3f7214 (diff)
downloadpodman-266c4952a89be89b1741f9fa69443f51387dd5c6.tar.gz
podman-266c4952a89be89b1741f9fa69443f51387dd5c6.tar.bz2
podman-266c4952a89be89b1741f9fa69443f51387dd5c6.zip
tests: change return type for PodmanAsUser to PodmanTestIntegration
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/utils/podmantest_test.go')
-rw-r--r--test/utils/podmantest_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/podmantest_test.go b/test/utils/podmantest_test.go
index 87f756920..60e3e2a97 100644
--- a/test/utils/podmantest_test.go
+++ b/test/utils/podmantest_test.go
@@ -19,11 +19,11 @@ var _ = Describe("PodmanTest test", func() {
FakeOutputs = make(map[string][]string)
})
- It("Test PodmanAsUser", func() {
+ It("Test PodmanAsUserBase", func() {
FakeOutputs["check"] = []string{"check"}
os.Setenv("HOOK_OPTION", "hook_option")
env := os.Environ()
- session := podmanTest.PodmanAsUser([]string{"check"}, 1000, 1000, env)
+ session := podmanTest.PodmanAsUserBase([]string{"check"}, 1000, 1000, env)
os.Unsetenv("HOOK_OPTION")
session.WaitWithDefaultTimeout()
Expect(session.Command.Process).ShouldNot(BeNil())