diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-22 20:50:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 20:50:54 +0200 |
commit | e4ce1755090204dd3409d994e2639fec15018b6b (patch) | |
tree | 6462056b00567dcea42d236a00d5c50cb14680b7 /test/e2e/common_test.go | |
parent | a95f1956353988b3c4fd80ac07f9c95724b3ed4a (diff) | |
parent | a75f96ae906cc90ca751a35f552760f10c756a76 (diff) | |
download | podman-e4ce1755090204dd3409d994e2639fec15018b6b.tar.gz podman-e4ce1755090204dd3409d994e2639fec15018b6b.tar.bz2 podman-e4ce1755090204dd3409d994e2639fec15018b6b.zip |
Merge pull request #7048 from rhatdan/remotetest
Turn on a bunch more remote tests
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r-- | test/e2e/common_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index e2e47230b..4fc5b3da9 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -620,3 +620,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} +} |