mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-09 05:54:45 +08:00
Check user systemd unit files with systemd-analyze
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user