1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Use systemctl --no-legend when collecting service info

Without this, when there are failed services, we get an extra
column to the left of the service names with a unicode dot for
each failed service, which is awkward and screws up the parsing.
This commit is contained in:
Adam Williamson 2017-01-11 11:58:37 -08:00
parent 0b147e169c
commit dac3c2dd38

View File

@ -13,7 +13,7 @@ sub run {
upload_logs '/var/tmp/free.log';
assert_script_run 'df > /var/tmp/df.log';
upload_logs '/var/tmp/df.log';
assert_script_run 'systemctl -t service --no-pager |grep -o ".*\.service" > /var/tmp/services.log';
assert_script_run 'systemctl -t service --no-pager --no-legend | grep -o ".*\.service" > /var/tmp/services.log';
upload_logs '/var/tmp/services.log';
}