# Static checks on the script itself. if syn=$(sh -n "$VMM" 2>&1); then ok "sh -n is clean" else notok "sh -n is clean" "$syn" fi if command -v shellcheck >/dev/null 2>&1; then if sc=$(shellcheck -s sh "$VMM" "$ROOT/test" "$ROOT"/tests/* 2>&1); then ok "shellcheck is clean" else notok "shellcheck is clean" "$sc" fi else skip 1 "shellcheck not installed" fi