From f43e4abc8872a10519309d78f44ad2fc276ad596 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 14 Mar 2021 23:34:38 +0000 Subject: Check user systemd unit files with systemd-analyze --- .../command_callback/test_systemd_analyze_command_callback.vader | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/command_callback/test_systemd_analyze_command_callback.vader (limited to 'test/command_callback') 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' -- cgit v1.2.3