]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs/mount: set omit_sudo when sudo is present in args
authorRishabh Dave <ridave@redhat.com>
Tue, 17 May 2022 11:00:45 +0000 (16:30 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 27 Jun 2022 14:13:54 +0000 (19:43 +0530)
commitd28f2a29a720b522dbfdbafee7391281b699b4d7
treef053c7d301816387acdde3c4190666fdcef1d843
parent311a7b6b0e1db47ba0219bc9196f507faff817ed
qa/cephfs/mount: set omit_sudo when sudo is present in args

Methods run_as_user() and run_python() don't set omit_sudo to False even
when command arguments contain sudo. This will cause vstart_runner.py to
delete "sudo" from command arguments which will/might lead to a bug.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/mount.py