naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
ac3a84
From ba43ad7ae9db3e06debd9fd0b1653fc695322093 Mon Sep 17 00:00:00 2001
ac3a84
From: =?UTF-8?q?Michal=20Koutn=C3=BD?= <mkoutny@suse.com>
ac3a84
Date: Fri, 25 Nov 2022 18:14:22 +0100
ac3a84
Subject: [PATCH] test: Add tests for systemd-cgtop args parsing
ac3a84
ac3a84
(cherry picked from commit d4e32838e875539ad6991b75b083c9563eddc3ed)
ac3a84
ac3a84
Related: #2138081
ac3a84
---
ac3a84
 test/units/testsuite-74.cgtop.sh | 5 +++--
ac3a84
 1 file changed, 3 insertions(+), 2 deletions(-)
ac3a84
ac3a84
diff --git a/test/units/testsuite-74.cgtop.sh b/test/units/testsuite-74.cgtop.sh
ac3a84
index 8141ec1b1f..6f08362e7c 100755
ac3a84
--- a/test/units/testsuite-74.cgtop.sh
ac3a84
+++ b/test/units/testsuite-74.cgtop.sh
ac3a84
@@ -15,8 +15,8 @@ systemd-cgtop --cpu=percentage
ac3a84
 systemd-cgtop --cpu=time
ac3a84
 systemd-cgtop -P
ac3a84
 systemd-cgtop -k
ac3a84
-# FIXME: https://github.com/systemd/systemd/issues/25248
ac3a84
-#systemd-cgtop --recursive=no
ac3a84
+systemd-cgtop --recursive=no -P
ac3a84
+systemd-cgtop --recursive=no -k
ac3a84
 systemd-cgtop --depth=0
ac3a84
 systemd-cgtop --depth=100
ac3a84
 
ac3a84
@@ -29,4 +29,5 @@ systemd-cgtop -p -t -c -m -i
ac3a84
 (! systemd-cgtop --order=foo)
ac3a84
 (! systemd-cgtop --depth=-1)
ac3a84
 (! systemd-cgtop --recursive=foo)
ac3a84
+(! systemd-cgtop --recursive=no)
ac3a84
 (! systemd-cgtop --delay=1foo)