Project

General

Profile

« Previous | Next » 

Revision 591c48a6

Added by jahoti about 2 years ago

Make test suite mildly usable

Allow test/server.py to be run as a command and add some "webpages" for it.

View differences:

test/init.sh
7 7
# Initialize the root certificate for the tests proxy server
8 8
# Make sure this is run in the directory where they will be put!
9 9

  
10

  
11
if [ -n "$1" ]; then
12
    cd "$1"
13
fi
10 14
openssl genrsa -out ca.key 2048
11 15
openssl genrsa -out cert.key 2048
12 16
openssl req -new -x509 -days 3650 -key ca.key -out ca.crt -subj "/CN=Hachette Test"

Also available in: Unified diff