dcavalca / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone
Blob Blame History Raw
From ba43ad7ae9db3e06debd9fd0b1653fc695322093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20Koutn=C3=BD?= <mkoutny@suse.com>
Date: Fri, 25 Nov 2022 18:14:22 +0100
Subject: [PATCH] test: Add tests for systemd-cgtop args parsing

(cherry picked from commit d4e32838e875539ad6991b75b083c9563eddc3ed)

Related: #2138081
---
 test/units/testsuite-74.cgtop.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/units/testsuite-74.cgtop.sh b/test/units/testsuite-74.cgtop.sh
index 8141ec1b1f..6f08362e7c 100755
--- a/test/units/testsuite-74.cgtop.sh
+++ b/test/units/testsuite-74.cgtop.sh
@@ -15,8 +15,8 @@ systemd-cgtop --cpu=percentage
 systemd-cgtop --cpu=time
 systemd-cgtop -P
 systemd-cgtop -k
-# FIXME: https://github.com/systemd/systemd/issues/25248
-#systemd-cgtop --recursive=no
+systemd-cgtop --recursive=no -P
+systemd-cgtop --recursive=no -k
 systemd-cgtop --depth=0
 systemd-cgtop --depth=100
 
@@ -29,4 +29,5 @@ systemd-cgtop -p -t -c -m -i
 (! systemd-cgtop --order=foo)
 (! systemd-cgtop --depth=-1)
 (! systemd-cgtop --recursive=foo)
+(! systemd-cgtop --recursive=no)
 (! systemd-cgtop --delay=1foo)