mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Add simple Boulder integration test
This commit is contained in:
parent
848528599e
commit
5f01a90ce6
1 changed files with 22 additions and 0 deletions
22
tests/boulder-integration.sh
Executable file
22
tests/boulder-integration.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
# Simple integration test, run as "./boulder-integration.sh auth" or
|
||||
# adjust parameters: "./boulder-integration.sh --domain bang auth".
|
||||
|
||||
root="$(mktemp -d)"
|
||||
|
||||
# first three flags required, rest is handy defaults
|
||||
letsencrypt \
|
||||
--server http://localhost:4000/acme/new-reg \
|
||||
--no-verify-ssl \
|
||||
--dvsni-port 5001 \
|
||||
--config-dir "$root/conf" \
|
||||
--work-dir "$root/work" \
|
||||
--text \
|
||||
--agree-tos \
|
||||
--email "" \
|
||||
--domains le.wtf \
|
||||
-vvvvvvv \
|
||||
"$@"
|
||||
|
||||
# print at the end, so it's more visible
|
||||
echo "\nRoot integration tests directory: $root"
|
||||
Loading…
Reference in a new issue