diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-11-17 14:15:47 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-11-18 10:44:35 -0500 |
commit | 080ccf512d8ce339d9df1643f790db01f183b1a8 (patch) | |
tree | 63247dc3b958ae51c4de45bdddb64312fa42845b /test/e2e/mount_rootless_test.go | |
parent | 286d356db03a2511722155022c19855f8aee73cf (diff) | |
download | podman-080ccf512d8ce339d9df1643f790db01f183b1a8.tar.gz podman-080ccf512d8ce339d9df1643f790db01f183b1a8.tar.bz2 podman-080ccf512d8ce339d9df1643f790db01f183b1a8.zip |
Remove build \!remote flags from test
Add some more tests, document cases where remote will not work
Add FIXMEs for tests that should work on podman-remote but currently
do not.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/mount_rootless_test.go')
-rw-r--r-- | test/e2e/mount_rootless_test.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/e2e/mount_rootless_test.go b/test/e2e/mount_rootless_test.go index 063dcb631..1e4152709 100644 --- a/test/e2e/mount_rootless_test.go +++ b/test/e2e/mount_rootless_test.go @@ -1,5 +1,3 @@ -// +build !remote - package integration import ( @@ -18,9 +16,8 @@ var _ = Describe("Podman mount", func() { ) BeforeEach(func() { - if os.Geteuid() == 0 { - Skip("This function is not enabled for rootfull podman") - } + SkipIfNotRootless("This function is not enabled for rootfull podman") + SkipIfRemote("Podman mount not supported for remote connections") tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) |