Check user systemd unit files with systemd-analyze

This commit is contained in:
w0rp
2021-03-14 23:34:38 +00:00
parent b45ee8ec6c
commit f43e4abc88
7 changed files with 77 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
Before:
call ale#assert#SetUpLinterTest('systemd', 'systemd_analyze')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
AssertLinter 'systemd-analyze',
\ 'SYSTEMD_LOG_COLOR=0 ' . ale#Escape('systemd-analyze') . ' --user verify %s'