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