summaryrefslogtreecommitdiff
path: root/test/e2e/common_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-22 10:03:45 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-07-22 13:13:28 -0400
commita75f96ae906cc90ca751a35f552760f10c756a76 (patch)
treefee7b838a352aafaabd86907c29ed83b1497afba /test/e2e/common_test.go
parent80add2902cf3561d2c9f91dc045076519cd297d5 (diff)
downloadpodman-a75f96ae906cc90ca751a35f552760f10c756a76.tar.gz
podman-a75f96ae906cc90ca751a35f552760f10c756a76.tar.bz2
podman-a75f96ae906cc90ca751a35f552760f10c756a76.zip
Turn on a bunch more remote tests
We need to be more specific about the remote tests we turn off. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r--test/e2e/common_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index f475a927c..e5be25e70 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -618,3 +618,9 @@ func SkipIfCgroupV2() {
Skip("Skip on systems with cgroup V2 systems")
}
}
+
+// PodmanAsUser is the exec call to podman on the filesystem with the specified uid/gid and environment
+func (p *PodmanTestIntegration) PodmanAsUser(args []string, uid, gid uint32, cwd string, env []string) *PodmanSessionIntegration {
+ podmanSession := p.PodmanAsUserBase(args, uid, gid, cwd, env, false, false, nil)
+ return &PodmanSessionIntegration{podmanSession}
+}