ipatests: use "sos report" instead of "sosreport" command

The "soscommand" has been deprecated and "sos report" should be
used instead. The redirector was removed in sos 4.9.

Fixes: https://pagure.io/freeipa/issue/9752
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Florence Blanc-Renaud authored and Sudhir Menon committed 2025-02-26 20:04:39 +05:30
1 parent 018b3d3dc6
commit d2b5a9b93c
1 file changed
+2 -2
@@ -1405,7 +1405,7 @@ class TestIpaHealthCheck(IntegrationTest):
msg = "[plugin:ipa] collecting path '{}'".format(HEALTHCHECK_LOG)
cmd = self.master.run_command(
[
"sosreport",
"sos", "report",
"-o",
"ipa",
"--case-id",
@@ -1508,7 +1508,7 @@ class TestIpaHealthCheck(IntegrationTest):
caseid = "123456"
self.master.run_command(
[
"sosreport",
"sos", "report",
"-o",
"ipa",
"--case-id",