entrypoint.sh

Wed, 03 May 2017 12:06:37 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 03 May 2017 12:06:37 +0100
changeset 0
1eb0534e81a2
permissions
-rw-r--r--

Initial commit

0
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 #!/bin/bash
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 mkdir .local
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 cat <<EOF > .local/e2etest.ini
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 [global]
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 provisioner=aioxmpp.e2etest.provision.AnonymousProvisioner
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8 [aioxmpp.e2etest.provision.AnonymousProvisioner]
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9 no_verify=true
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 domain=anon.localhost
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 host=$SERVER_HOST
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12 port=$SERVER_PORT
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
13 EOF
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14
1eb0534e81a2 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
15 exec /usr/bin/python3 -m aioxmpp.e2etest tests

mercurial