diff options
author | Michal Koutný <mkoutny@suse.com> | 2022-11-25 18:14:22 +0100 |
---|---|---|
committer | Michal Koutný <mkoutny@suse.com> | 2022-11-28 14:29:49 +0100 |
commit | d4e32838e875539ad6991b75b083c9563eddc3ed (patch) | |
tree | 6ef9e7b712ee7f810c1952d880469a4fc1364010 /test/units | |
parent | cgtop: Do not rewrite -P or -k options (diff) | |
download | systemd-d4e32838e875539ad6991b75b083c9563eddc3ed.tar.xz systemd-d4e32838e875539ad6991b75b083c9563eddc3ed.zip |
test: Add tests for systemd-cgtop args parsing
Diffstat (limited to 'test/units')
-rwxr-xr-x | test/units/testsuite-74.cgtop.sh | 5 |
1 files 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) |