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

Proposed by Yolanda Robla on 2013-06-10
Status: Merged
Approved by: Chuck Short on 2013-06-12
Approved revision: 27
Merged at revision: 26
Proposed branch: lp:~yolanda.robla/python-cinderclient/havana
Merge into: lp:~openstack-ubuntu-testing/python-cinderclient/havana
Diff against target: 59 lines (+24/-1)
4 files modified
debian/changelog (+5/-1)
debian/control (+1/-0)
debian/tests/client (+16/-0)
debian/tests/control (+2/-0)
To merge this branch: bzr merge lp:~yolanda.robla/python-cinderclient/havana
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers 2013-06-10 Pending
Review via email: mp+168416@code.launchpad.net

Description of the change

Added autopkg tests

To post a comment you must log in.
27. By Yolanda Robla on 2013-06-11

updated client

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-06-06 17:57:38 +0000
3+++ debian/changelog 2013-06-11 08:43:35 +0000
4@@ -1,9 +1,13 @@
5 python-cinderclient (1:1.0.4.20.g9357c1-0ubuntu1) UNRELEASED; urgency=low
6
7+ [ Andres Rodriguez ]
8 * New upstream release.
9 * debian/control: Build-Depends python-pbr and python-d2to1.
10
11- -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 22 May 2013 11:28:30 -0400
12+ [ Yolanda Robla ]
13+ * debian/tests: added autopkg tests
14+
15+ -- Yolanda Robla <yolanda.robla@canonical.com> Mon, 10 Jun 2013 13:36:00 +0200
16
17 python-cinderclient (1:1.0.3-0ubuntu1) raring; urgency=low
18
19
20=== modified file 'debian/control'
21--- debian/control 2013-05-22 18:17:28 +0000
22+++ debian/control 2013-06-11 08:43:35 +0000
23@@ -20,6 +20,7 @@
24 testrepository
25 Standards-Version: 3.9.3
26 X-Python-Version: >= 2.5
27+XS-Testsuite: autopkgtest
28
29 Package: python-cinderclient
30 Architecture: all
31
32=== added directory 'debian/tests'
33=== added file 'debian/tests/client'
34--- debian/tests/client 1970-01-01 00:00:00 +0000
35+++ debian/tests/client 2013-06-11 08:43:35 +0000
36@@ -0,0 +1,16 @@
37+#!/bin/bash
38+#-------------------------
39+# Testing client utilities
40+#-------------------------
41+set -e
42+
43+HELP_CLIENTS=('cinder')
44+for client in "${HELP_CLIENTS[@]}"; do
45+ if ! $client -h 2>&1 > /dev/null; then
46+ echo "ERROR, ${client} is not running"
47+ exit 1
48+ else
49+ echo "OK: ${client} is running"
50+ fi
51+done
52+exit 0
53
54=== added file 'debian/tests/control'
55--- debian/tests/control 1970-01-01 00:00:00 +0000
56+++ debian/tests/control 2013-06-11 08:43:35 +0000
57@@ -0,0 +1,2 @@
58+Tests: client
59+Depends: python-cinderclient

Subscribers

People subscribed via source and target branches