~corey.bryant/ubuntu/trusty/python-neutronclient/1292661

« back to all changes in this revision

Viewing changes to debian/tests/client

debian/tests: added autopkg tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#-------------------------
 
3
# Testing client utilities
 
4
#-------------------------
 
5
set -e
 
6
 
 
7
HELP_CLIENTS=('quantum')
 
8
for client in "${HELP_CLIENTS[@]}"; do
 
9
    RET=$($client -h 2>&1 > /dev/null)
 
10
 
 
11
    if [[ $RET ]]; then
 
12
        echo "ERROR, ${client} is not running"
 
13
    fi
 
14
done