[kde-linux/os-autoinst-distri-kdelinux] extensions/openqa/usr/lib/kde-linux-openqa/tests: Don't elevate collect_logs test with run0 --empower

Thomas Duckworth <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit ec91a61f48c7cb91cbd3cd7f5d8ac796f4340f2a by Thomas Duckworth.
Committed on 25/07/2026 at 03:15.
Pushed by bshah into branch 'master'.

Don't elevate collect_logs test with run0 --empower

This seems to break it, and it only calls run0 once internally
regardless, so we're already catching the right prompt.

Resolves https://invent.kde.org/kde-linux/os-autoinst-distri-kdelinux/-/work_items/17

M  +1    -1    extensions/openqa/usr/lib/kde-linux-openqa/tests/collect_logs.py

https://invent.kde.org/kde-linux/os-autoinst-distri-kdelinux/-/commit/ec91a61f48c7cb91cbd3cd7f5d8ac796f4340f2a

diff --git a/extensions/openqa/usr/lib/kde-linux-openqa/tests/collect_logs.py b/extensions/openqa/usr/lib/kde-linux-openqa/tests/collect_logs.py
index 34cbf94..ae7588f 100644
--- a/extensions/openqa/usr/lib/kde-linux-openqa/tests/collect_logs.py
+++ b/extensions/openqa/usr/lib/kde-linux-openqa/tests/collect_logs.py
@@ -32,7 +32,7 @@ class CollectLogsTests(unittest.TestCase):
 
         work_dir = tempfile.mkdtemp()
         proc = subprocess.Popen(
-            ['run0','--empower',COLLECT_LOGS], cwd=work_dir,
+            [COLLECT_LOGS], cwd=work_dir,
             stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
         self.polkit.authenticate()
         try:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.