#!/bin/bash -x RES=0 case $1 in python-django-openstack-auth|openstack_auth|python2-django-openstack-auth) echo "Testing $1" python -c "import openstack_auth" RES=$? ;; *) echo "test not defined, skipping..." ;; esac exit $RES