mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-28 09:06:44 -06:00
Replace sudo with runuser
runuser is in util-linux and does not require sudo package. Related: https://pagure.io/freeipa/issue/8530 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
6860c63760
commit
4ed21bba4d
@ -743,7 +743,7 @@ class TestIPACommand(IntegrationTest):
|
|||||||
|
|
||||||
# test IFP as ipaapi
|
# test IFP as ipaapi
|
||||||
result = self.master.run_command(
|
result = self.master.run_command(
|
||||||
['sudo', '-u', IPAAPI_USER, '--'] + cmd
|
['runuser', '-u', IPAAPI_USER, '--'] + cmd
|
||||||
)
|
)
|
||||||
assert uid in result.stdout_text
|
assert uid in result.stdout_text
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user