summaryrefslogtreecommitdiff
path: root/test/e2e/libpod_suite_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-23 11:49:07 +0100
committerGitHub <noreply@github.com>2019-02-23 11:49:07 +0100
commit0969d725a3b302d9baa0616a204f7fc824404973 (patch)
treecf18caca541ae0b7b532b1768de0276326035e13 /test/e2e/libpod_suite_test.go
parentb223d4e1367463a32eeeb31a4b9d8a351641d83c (diff)
parent7e920e486512d350faa43306d2cda12fdad887e1 (diff)
downloadpodman-0969d725a3b302d9baa0616a204f7fc824404973.tar.gz
podman-0969d725a3b302d9baa0616a204f7fc824404973.tar.bz2
podman-0969d725a3b302d9baa0616a204f7fc824404973.zip
Merge pull request #2393 from giuseppe/reexec-into-same-wd
rootless: force same cwd when re-execing
Diffstat (limited to 'test/e2e/libpod_suite_test.go')
-rw-r--r--test/e2e/libpod_suite_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/libpod_suite_test.go b/test/e2e/libpod_suite_test.go
index 4b4baa93c..33e05b872 100644
--- a/test/e2e/libpod_suite_test.go
+++ b/test/e2e/libpod_suite_test.go
@@ -28,8 +28,8 @@ func (p *PodmanTestIntegration) Podman(args []string) *PodmanSessionIntegration
}
// 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, env []string) *PodmanSessionIntegration {
- podmanSession := p.PodmanAsUserBase(args, uid, gid, env)
+func (p *PodmanTestIntegration) PodmanAsUser(args []string, uid, gid uint32, cwd string, env []string) *PodmanSessionIntegration {
+ podmanSession := p.PodmanAsUserBase(args, uid, gid, cwd, env)
return &PodmanSessionIntegration{podmanSession}
}