systemd/0141-test-Add-tests-for-systemd-cgtop-args-parsing.patch
Jan Macku 79350f79d8 systemd-252-2
Resolves: #2137584,#2138081,#2141979
2022-12-09 09:36:14 +01:00

34 lines
1.1 KiB
Diff

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)