 bd14d07809
			
		
	
	bd14d07809
	
	
	
		
			
			devstack defaults to v3 and makes some janky assumptions in the generated rc files Change-Id: I4b0b3eb6ab2aa9be2ac4c2404b2f9655e3ed564e
		
			
				
	
	
		
			21 lines
		
	
	
		
			591 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			591 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/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)
 | |
| 
 | |
| echo "Running openstackclient functional test suite"
 | |
| sudo -H -u stack -i <<!
 | |
| source ~stack/devstack/openrc admin admin
 | |
| echo 'Running tests with:'
 | |
| env | grep OS_
 | |
| cd ${OPENSTACKCLIENT_DIR}
 | |
| tox -e functional
 | |
| !
 |