summaryrefslogtreecommitdiff
path: root/post_test_hook.sh
blob: b82c1e62a959d7aae52e5d5b36f819a19acb44c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# This is a script that kicks off a series of functional tests against an
# OpenStack cloud. It will attempt to create an instance if one is not
# available. Do not run this script unless you know what you're doing.
# For more information refer to:
# http://docs.openstack.org/developer/python-openstackclient/

set -xe

OPENSTACKCLIENT_DIR=$(cd $(dirname "$0") && pwd)

cd $OPENSTACKCLIENT_DIR
echo "Running openstackclient functional test suite"
sudo -H -u stack tox -e functional