Skip to content

Commit 3e81a57

Browse files
committed
Add dev/easyrsa-tools.lib to unit-test as a shellcheck target
Signed-off-by: Richard T Bonhomme <[email protected]>
1 parent 0a93ddf commit 3e81a57

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

op-test.sh

+11
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,17 @@ run_shellcheck () {
240240
log "easyrsa binary not present, not using shellcheck"
241241
fi
242242

243+
# shell-check dev/easyrsa-tools.lib
244+
if [ -e dev/easyrsa-tools.lib ]; then
245+
if "${sc_bin}" -s sh -S warning -x dev/easyrsa-tools.lib; then
246+
log "shellcheck dev/easyrsa-tools.lib completed - ok"
247+
else
248+
log "shellcheck dev/easyrsa-tools.lib completed - FAILED"
249+
fi
250+
else
251+
log "dev/easyrsa-tools.lib not present, not using shellcheck"
252+
fi
253+
243254
# shell-check easyrsa-unit-tests.sh
244255
if [ -e easyrsa-unit-tests.sh ]; then
245256
if "${sc_bin}" -s sh -S warning -x easyrsa-unit-tests.sh; then

0 commit comments

Comments
 (0)