]> review.fuel-infra Code Review - openstack-build/cinder-build.git/blob - trusty/debian/tests/python-cinder
Recovery cinder-volume-vmware init files
[openstack-build/cinder-build.git] / trusty / debian / tests / python-cinder
1 #!/bin/bash
2 #-------------------------
3 # Testing client utilities
4 #-------------------------
5 set -e
6
7 result=$(python `dirname $0`/test_import_cinder.py 2>&1)
8 if [ "$result" ]; then
9     echo "ERROR: PYTHON-CINDER MODULE CANNOT BE IMPORTED"
10     exit 1
11 else
12     echo "OK"
13     exit 0
14 fi