1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-20 14:03:39 +03:00

test: Add tests for systemd-cgtop args parsing

(cherry picked from commit d4e32838e875539ad6991b75b083c9563eddc3ed)
(cherry picked from commit 4b885f3591eecc2672b9504bd75a7473d94af9f6)
This commit is contained in:
Michal Koutný 2022-11-25 18:14:22 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 598260221c
commit d11c3a2a06

View File

@ -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)