You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#!/bin/bash
exname=$(basename $0)
prefix_cmd=" . /etc/shlib
include common include parse
. ../lib/common
letsencrypt_get_challenge_type() { echo 'Calling letsencrypt_get_challenge_type' >&2 echo \"\$LETSENCRYPT_GET_CHALLENGE_TYPE\" } export -f letsencrypt_get_challenge_type
"
try " LETSENCRYPT_GET_CHALLENGE_TYPE=foo get_challenge_type '' create "bar" " is errlvl 0 is err "Warning: No challenge-type provided, defaulting to 'http'." RTRIM is out 'http' RTRIM
try " LETSENCRYPT_GET_CHALLENGE_TYPE=foo get_challenge_type ' challenge-type: wiz ' create "bar" " noerror is out 'wiz' RTRIM
try " LETSENCRYPT_GET_CHALLENGE_TYPE=foo get_challenge_type ' challenge-type: wiz ' renew "bar" " is errlvl 0 is err 'Calling letsencrypt_get_challenge_type' RTRIM is out 'foo' RTRIM
try " LETSENCRYPT_GET_CHALLENGE_TYPE=http-01 get_challenge_type ' challenge-type: wiz ' renew "bar" " is errlvl 0 is err 'Calling letsencrypt_get_challenge_type' RTRIM is out 'http' RTRIM
|