From 5f01a90ce60b32b707a40ed0220c04ef5d8268b7 Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Fri, 12 Jun 2015 18:14:33 +0000 Subject: [PATCH] Add simple Boulder integration test --- tests/boulder-integration.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tests/boulder-integration.sh diff --git a/tests/boulder-integration.sh b/tests/boulder-integration.sh new file mode 100755 index 000000000..ed6428618 --- /dev/null +++ b/tests/boulder-integration.sh @@ -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"