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:
parent
993ecd5a05
commit
ada75c0bb8
|
@ -660,7 +660,12 @@ var _ = Describe("quadlet system generator", func() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run quadlet to convert the file
|
// 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()
|
session.WaitWithDefaultTimeout()
|
||||||
Expect(session).Should(Exit(exitCode))
|
Expect(session).Should(Exit(exitCode))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue