Merge lp:~yolanda.robla/ubuntu/saucy/ganglia/dep-8-tests into lp:ubuntu/saucy/ganglia

Proposed by Yolanda Robla
Status: Merged
Merged at revision: 16
Proposed branch: lp:~yolanda.robla/ubuntu/saucy/ganglia/dep-8-tests
Merge into: lp:ubuntu/saucy/ganglia
Diff against target: 65 lines (+42/-0)
4 files modified
debian/changelog (+6/-0)
debian/tests/control (+2/-0)
debian/tests/gmetad (+17/-0)
debian/tests/gmond (+17/-0)
To merge this branch: bzr merge lp:~yolanda.robla/ubuntu/saucy/ganglia/dep-8-tests
Reviewer Review Type Date Requested Status
Martin Pitt Approve
James Hunt (community) Approve
Review via email: mp+163035@code.launchpad.net

Description of the change

Added dep-8-tests

To post a comment you must log in.
Revision history for this message
James Hunt (jamesodhunt) wrote :

LGTM. Has this been forwarded to Debian?

Revision history for this message
James Hunt (jamesodhunt) wrote :

status update.

review: Approve
Revision history for this message
Martin Pitt (pitti) wrote :

Verified in current saucy with "run-adt-test -sS lp:~yolanda.robla/ubuntu/saucy/ganglia/dep-8-tests ganglia". Thanks!

review: Approve

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-03-22 00:51:27 +0000
3+++ debian/changelog 2013-05-08 19:00:37 +0000
4@@ -1,3 +1,9 @@
5+ganglia (3.3.8-1+nmu1ubuntu2) saucy; urgency=low
6+
7+ * d/tests: adding dep-8-tests
8+
9+ -- Yolanda <yolanda.robla@canonical.com> Wed, 08 May 2013 20:57:12 +0200
10+
11 ganglia (3.3.8-1+nmu1ubuntu1) raring; urgency=low
12
13 * debian/{ganglia-monitor,gmetad}.upstart: Upstartify init scripts.
14
15=== added directory 'debian/tests'
16=== added file 'debian/tests/control'
17--- debian/tests/control 1970-01-01 00:00:00 +0000
18+++ debian/tests/control 2013-05-08 19:00:37 +0000
19@@ -0,0 +1,2 @@
20+Tests: gmond gmetad
21+Depends: netcat, @
22
23=== added file 'debian/tests/gmetad'
24--- debian/tests/gmetad 1970-01-01 00:00:00 +0000
25+++ debian/tests/gmetad 2013-05-08 19:00:37 +0000
26@@ -0,0 +1,17 @@
27+#!/bin/bash
28+#---------------
29+# Testing gmetad
30+#---------------
31+MACHINE=127.0.0.1
32+PORT=8649
33+
34+# listen to port
35+netcat -z ${MACHINE} ${PORT}
36+if [ $? -eq 0 ]
37+then
38+ echo "OK"
39+ exit 0
40+else
41+ echo "ERROR: gmetad not listening" >&1
42+ exit 1
43+fi
44
45=== added file 'debian/tests/gmond'
46--- debian/tests/gmond 1970-01-01 00:00:00 +0000
47+++ debian/tests/gmond 2013-05-08 19:00:37 +0000
48@@ -0,0 +1,17 @@
49+#!/bin/bash
50+#--------------
51+# Testing gmond
52+#--------------
53+MACHINE=127.0.0.1
54+PORT=8649
55+
56+# listen to port
57+netcat -uz ${MACHINE} ${PORT}
58+if [ $? -eq 0 ]
59+then
60+ echo "OK"
61+ exit 0
62+else
63+ echo "ERROR: gmond not listening" >&1
64+ exit 1
65+fi

Subscribers

People subscribed via source and target branches

to all changes: