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

Proposed by Yolanda Robla
Status: Merged
Approved by: Chuck Short
Approved revision: 35
Merged at revision: 34
Proposed branch: lp:~yolanda.robla/python-glanceclient/havana
Merge into: lp:~openstack-ubuntu-testing/python-glanceclient/havana
Diff against target: 60 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-glanceclient/havana
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+168399@code.launchpad.net

Description of the change

Added autopkg tests

To post a comment you must log in.
35. By Yolanda Robla

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-05-28 14:50:29 +0000
3+++ debian/changelog 2013-06-10 14:28:28 +0000
4@@ -1,10 +1,14 @@
5 python-glanceclient (1:0.9.0.27.ga3585ef-0ubuntu1) UNRELEASED; urgency=low
6
7+ [ Chuck Short ]
8 * New upstream release.
9 * debian/control: Add python-pbr and python-d2to1.
10 * debian/control: Dropped pep8.
11
12- -- Chuck Short <zulcss@ubuntu.com> Tue, 28 May 2013 09:40:07 -0500
13+ [ Yolanda Robla ]
14+ * debian/tests: added autopkg tests
15+
16+ -- Yolanda Robla <yolanda.robla@canonical.com> Mon, 10 Jun 2013 12:34:07 +0200
17
18 python-glanceclient (1:0.9.0.13.gaddd3c3-0ubuntu1) saucy; urgency=low
19
20
21=== modified file 'debian/control'
22--- debian/control 2013-05-28 14:50:29 +0000
23+++ debian/control 2013-06-10 14:28:28 +0000
24@@ -18,6 +18,7 @@
25 python-warlock
26 Standards-Version: 3.9.3
27 Homepage: http://launchpad.net/glance
28+XS-Testsuite: autopkgtest
29
30 Package: python-glanceclient
31 Architecture: all
32
33=== added directory 'debian/tests'
34=== added file 'debian/tests/client'
35--- debian/tests/client 1970-01-01 00:00:00 +0000
36+++ debian/tests/client 2013-06-10 14:28:28 +0000
37@@ -0,0 +1,16 @@
38+#!/bin/bash
39+#-------------------------
40+# Testing client utilities
41+#-------------------------
42+set -e
43+
44+HELP_CLIENTS=('glance')
45+for client in "${HELP_CLIENTS[@]}"; do
46+ if ! $client -h 2>&1 > /dev/null; then
47+ echo "ERROR, ${client} is not running"
48+ exit 1
49+ else
50+ echo "OK: ${client} is running"
51+ fi
52+done
53+exit 0
54
55=== added file 'debian/tests/control'
56--- debian/tests/control 1970-01-01 00:00:00 +0000
57+++ debian/tests/control 2013-06-10 14:28:28 +0000
58@@ -0,0 +1,2 @@
59+Tests: client
60+Depends: python-glanceclient

Subscribers

People subscribed via source and target branches