Merge lp:~yolanda.robla/python-novaclient/havana_client_fix into lp:~openstack-ubuntu-testing/python-novaclient/havana

Proposed by Yolanda Robla
Status: Merged
Approved by: Chuck Short
Approved revision: 74
Merged at revision: 74
Proposed branch: lp:~yolanda.robla/python-novaclient/havana_client_fix
Merge into: lp:~openstack-ubuntu-testing/python-novaclient/havana
Diff against target: 18 lines (+5/-3)
1 file modified
debian/tests/client (+5/-3)
To merge this branch: bzr merge lp:~yolanda.robla/python-novaclient/havana_client_fix
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+168436@code.launchpad.net

Description of the change

Updated client check

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/tests/client'
2--- debian/tests/client 2013-06-07 11:23:51 +0000
3+++ debian/tests/client 2013-06-10 13:16:40 +0000
4@@ -6,9 +6,11 @@
5
6 HELP_CLIENTS=('nova')
7 for client in "${HELP_CLIENTS[@]}"; do
8- RET=$($client -h 2>&1 > /dev/null)
9-
10- if [[ $RET ]]; then
11+ if ! $client -h 2>&1 > /dev/null; then
12 echo "ERROR, ${client} is not running"
13+ exit 1
14+ else
15+ echo "OK: ${client} is running"
16 fi
17 done
18+exit 0

Subscribers

People subscribed via source and target branches