From: Rishabh Dave Date: Mon, 18 Apr 2022 16:22:18 +0000 (+0530) Subject: qa/cephfs: set omit_sudo to False in test_acls.py X-Git-Tag: v18.0.0~908^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1423f959e89b2c738779168446b9124102fa98c9;p=ceph.git qa/cephfs: set omit_sudo to False in test_acls.py When running "sudo ./check generic/099" in test_acls.py's test method named test_acls(), set omit_sudo to False because without it vstart_runner.py will remove "sudo" from command arguments and so the command will fail unnecessarily. Fixes: https://tracker.ceph.com/issues/55374 Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/cephfs/test_acls.py b/qa/tasks/cephfs/test_acls.py index 9b618f91112d..d042c5b16607 100644 --- a/qa/tasks/cephfs/test_acls.py +++ b/qa/tasks/cephfs/test_acls.py @@ -23,5 +23,5 @@ class TestACLs(XFSTestsDev): self.mount_a.client_remote.run(args=['sudo', './check', 'generic/099'], cwd=self.repo_path, stdout=BytesIO(), - stderr=BytesIO(), timeout=30, check_status=True, + stderr=BytesIO(), timeout=30, check_status=True, omit_sudo=False, label='running tests for ACLs from xfstests-dev')