mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 02:38:31 +00:00
Tweak _collect_data services collection grep
When there's a failed service we get a stupid bullet-point char at the start of its line, and all the other lines are space- padded to match indentation. Which is annoying! This (I hope) ditches that crap without losing anything of value. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
85b71c809f
commit
db3f6c1b02
@ -15,7 +15,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 --no-legend | grep -o ".*\.service" > /var/tmp/services.log';
|
||||
assert_script_run 'systemctl -t service --no-pager --no-legend | grep -o "[[:graph:]]*\.service" > /var/tmp/services.log';
|
||||
upload_logs '/var/tmp/services.log';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user