optest.sh shellcheck compliance
Signed-off-by: Richard Bonhomme <tincanteksup@gmail.com>
This commit is contained in:
parent
73523b0da3
commit
67bac6c7f1
12
op_test.sh
12
op_test.sh
@ -168,7 +168,7 @@ verb_off ()
|
|||||||
|
|
||||||
wait_sec ()
|
wait_sec ()
|
||||||
{
|
{
|
||||||
( sleep $DELAY 2>/dev/null ) || { ( ping -n 1 127.0.0.1 2>/dev/null ) && ping -n $DELAY 127.0.0.1; }
|
( sleep "$DELAY" 2>/dev/null ) || { ( ping -n 1 127.0.0.1 2>/dev/null ) && ping -n "$DELAY" 127.0.0.1; }
|
||||||
}
|
}
|
||||||
|
|
||||||
setup ()
|
setup ()
|
||||||
@ -487,7 +487,7 @@ create_pki ()
|
|||||||
REQ_name="s01"
|
REQ_name="s01"
|
||||||
build_full
|
build_full
|
||||||
show_cert
|
show_cert
|
||||||
wait_sec $DELAY
|
wait_sec "$DELAY"
|
||||||
renew_cert
|
renew_cert
|
||||||
show_cert
|
show_cert
|
||||||
revoke_cert
|
revoke_cert
|
||||||
@ -496,7 +496,7 @@ create_pki ()
|
|||||||
REQ_name="s02"
|
REQ_name="s02"
|
||||||
build_san_full
|
build_san_full
|
||||||
show_cert
|
show_cert
|
||||||
wait_sec $DELAY
|
wait_sec "$DELAY"
|
||||||
renew_cert
|
renew_cert
|
||||||
show_cert
|
show_cert
|
||||||
revoke_cert
|
revoke_cert
|
||||||
@ -505,7 +505,7 @@ create_pki ()
|
|||||||
REQ_name="s03"
|
REQ_name="s03"
|
||||||
build_full
|
build_full
|
||||||
show_cert
|
show_cert
|
||||||
wait_sec $DELAY
|
wait_sec "$DELAY"
|
||||||
renew_cert
|
renew_cert
|
||||||
show_cert
|
show_cert
|
||||||
revoke_cert
|
revoke_cert
|
||||||
@ -514,7 +514,7 @@ create_pki ()
|
|||||||
REQ_name="s04"
|
REQ_name="s04"
|
||||||
build_san_full
|
build_san_full
|
||||||
show_cert
|
show_cert
|
||||||
wait_sec $DELAY
|
wait_sec "$DELAY"
|
||||||
renew_cert
|
renew_cert
|
||||||
show_cert
|
show_cert
|
||||||
revoke_cert
|
revoke_cert
|
||||||
@ -523,7 +523,7 @@ create_pki ()
|
|||||||
REQ_name="c01"
|
REQ_name="c01"
|
||||||
build_full
|
build_full
|
||||||
show_cert
|
show_cert
|
||||||
wait_sec $DELAY
|
wait_sec "$DELAY"
|
||||||
renew_cert
|
renew_cert
|
||||||
show_cert
|
show_cert
|
||||||
revoke_cert
|
revoke_cert
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user