shellcheck complains that,
In spec/kdumpctl_general_spec.sh line 100:
'' failure
^-- SC2286 (error): This empty string is interpreted as a
command name. Double check syntax (or use 'true' as a no-op).
Eliminate this warning by disabling SC2286 file-wide as is the same with
the many shellspec files e.g.
https://github.com/shellspec/shellspec/blob/b8935ec266d2c5f7f364c6024730e...
Signed-off-by: Coiby Xu <coxu(a)redhat.com>
---
spec/kdumpctl_general_spec.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/spec/kdumpctl_general_spec.sh b/spec/kdumpctl_general_spec.sh
index 5a3ce1c..effc7b2 100644
--- a/spec/kdumpctl_general_spec.sh
+++ b/spec/kdumpctl_general_spec.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# shellcheck disable=SC2286
+
Describe 'kdumpctl'
Include ./kdumpctl
--
2.37.1