Add simple Boulder integration test

This commit is contained in:
Jakub Warmuz 2015-06-12 18:14:33 +00:00
parent 848528599e
commit 5f01a90ce6
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

22
tests/boulder-integration.sh Executable file
View 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"