Skip to content

Commit

Permalink
op-test.sh: Disable download ossl3 and shellcheck binaries
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jan 22, 2025
1 parent ff8705b commit 473c43b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions op-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ curl_it () {
# RUN unit test
run_unit_test ()
{
if [ "${utest_bin_ok}" ] && [ "${ssl_bin_ok}" ]; then
if [ "${utest_bin_ok}" ]; then

# Start unit tests
log ">>> BEGIN unit tests:"
Expand Down Expand Up @@ -228,7 +228,8 @@ download_unit_test_help () {

# Run shellcheck
run_shellcheck () {
if [ "$enable_shellcheck" ] && [ "$sc_bin_ok" ] && [ "$EASYRSA_NIX" ]; then
sc_bin=shellcheck
if [ "$enable_shellcheck" ] && [ "$EASYRSA_NIX" ]; then
# shell-check easyrsa3/easyrsa
if [ -e easyrsa3/easyrsa ]; then
if "${sc_bin}" -s sh -S warning -x easyrsa3/easyrsa; then
Expand Down Expand Up @@ -397,7 +398,7 @@ while [ -n "$1" ]; do
-v) verb='-v' ;;
-vv) verb='-vv' ;;
-sc) enable_shellcheck=1 ;;
-o3) enable_openssl3=1 ;;
-o3) : ;; # ignored
-p) use_passwords='-p' ;;
-dr) dry_run=1 ;;
-nt|--no-test) unset -v enable_unit_test ;;
Expand Down Expand Up @@ -452,8 +453,8 @@ ssl_hash='SHA256(openssl)= 85b562891087d4c64868d8d1f0a381407d8e23fb66c37ce9baad5

# Here we go ..

download_shellcheck
download_opensslv3
#download_shellcheck
#download_opensslv3
download_unit_test
download_unit_test_help

Expand Down

0 comments on commit 473c43b

Please sign in to comment.