mirror of
https://github.com/containers/podman.git
synced 2025-07-04 10:10:32 +08:00
test/e2e: test quadlet with and without --user
This seems to be a testing gap, we need to test both for full coverage. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -660,7 +660,12 @@ var _ = Describe("quadlet system generator", func() {
|
||||
}
|
||||
|
||||
// Run quadlet to convert the file
|
||||
session := podmanTest.Quadlet([]string{"--user", "--no-kmsg-log", generatedDir}, quadletDir)
|
||||
var args []string
|
||||
if isRootless() {
|
||||
args = append(args, "--user")
|
||||
}
|
||||
args = append(args, "--no-kmsg-log", generatedDir)
|
||||
session := podmanTest.Quadlet(args, quadletDir)
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(exitCode))
|
||||
|
||||
|
Reference in New Issue
Block a user