diff options
author | w0rp <devw0rp@gmail.com> | 2021-03-14 23:34:38 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2021-03-14 23:34:38 +0000 |
commit | f43e4abc8872a10519309d78f44ad2fc276ad596 (patch) | |
tree | af7d8f7b161ded500fc3698d02ea97d5b49d3793 /test/command_callback/test_systemd_analyze_command_callback.vader | |
parent | b45ee8ec6c760089c68fb28a5436ec8275ca5381 (diff) | |
download | ale-f43e4abc8872a10519309d78f44ad2fc276ad596.zip |
Check user systemd unit files with systemd-analyze
Diffstat (limited to 'test/command_callback/test_systemd_analyze_command_callback.vader')
-rw-r--r-- | test/command_callback/test_systemd_analyze_command_callback.vader | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command_callback/test_systemd_analyze_command_callback.vader b/test/command_callback/test_systemd_analyze_command_callback.vader new file mode 100644 index 00000000..d97c87be --- /dev/null +++ b/test/command_callback/test_systemd_analyze_command_callback.vader @@ -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' |