test/update: Run `bin/update' before adding requests.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 6 Dec 2012 03:40:05 +0000 (03:40 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 6 Dec 2012 03:42:57 +0000 (03:42 +0000)
Adding a request exercises the update hook, which expects the CRL to
exist.  This makes sure it actually does.

test/update

index c19e2fd..23d6f57 100755 (executable)
@@ -19,6 +19,7 @@ while :; do
     1)
       CA_FAKE_TIME="2011-08-23 18:32:45"
       bin/setup
+      bin/update
       for i in $(seq 1 50); do
        bin/add tls-client fake#$i test/fake-reqs/$i.req
       done