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

Proposed by Yolanda Robla
Status: Merged
Approved by: Chuck Short
Approved revision: 30
Merged at revision: 30
Proposed branch: lp:~yolanda.robla/python-swiftclient/havana
Merge into: lp:~openstack-ubuntu-testing/python-swiftclient/havana
Diff against target: 56 lines (+23/-1)
4 files modified
debian/changelog (+4/-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-swiftclient/havana
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+168877@code.launchpad.net

Description of the change

Added autopkg tests

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/changelog'
2--- debian/changelog 2013-05-21 15:46:13 +0000
3+++ debian/changelog 2013-06-12 08:42:25 +0000
4@@ -13,7 +13,10 @@
5 * debian/rules: Run testr by hand since we dont want to
6 run pep8 tests.
7
8- -- Chuck Short <zulcss@ubuntu.com> Wed, 15 May 2013 08:51:01 -0500
9+ [ Yolanda Robla ]
10+ * debian/tests: added autopkg tests
11+
12+ -- Yolanda Robla <yolanda.robla@canonical.com> Wed, 12 Jun 2013 08:51:01 +0200
13
14 python-swiftclient (1:1.3.0-0ubuntu1) raring; urgency=low
15
16
17=== modified file 'debian/control'
18--- debian/control 2013-05-21 15:46:13 +0000
19+++ debian/control 2013-06-12 08:42:25 +0000
20@@ -21,6 +21,7 @@
21 testrepository
22 Standards-Version: 3.9.4
23 X-Python-Version: >= 2.7
24+XS-Testsuite: autopkgtest
25
26 Package: python-swiftclient
27 Architecture: all
28
29=== added directory 'debian/tests'
30=== added file 'debian/tests/client'
31--- debian/tests/client 1970-01-01 00:00:00 +0000
32+++ debian/tests/client 2013-06-12 08:42:25 +0000
33@@ -0,0 +1,16 @@
34+#!/bin/bash
35+#-------------------------
36+# Testing client utilities
37+#-------------------------
38+set -e
39+
40+HELP_CLIENTS=('swift')
41+for client in "${HELP_CLIENTS[@]}"; do
42+ if ! $client -h 2>&1 > /dev/null; then
43+ echo "ERROR, ${client} is not running"
44+ exit 1
45+ else
46+ echo "OK: ${client} is running"
47+ fi
48+done
49+exit 0
50
51=== added file 'debian/tests/control'
52--- debian/tests/control 1970-01-01 00:00:00 +0000
53+++ debian/tests/control 2013-06-12 08:42:25 +0000
54@@ -0,0 +1,2 @@
55+Tests: client
56+Depends: python-swiftclient

Subscribers

People subscribed via source and target branches