Package: ganglia Version: 3.3.8-1+nmu1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu saucy ubuntu-patch
Added dep-8-tests *** /tmp/tmpheVZLS/bug_body In Ubuntu, the attached patch was applied to achieve the following: ## Added dep-8-tests in Ubuntu to improve QA * d/tests: adding dep-8-tests Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers saucy-updates APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy'), (100, 'saucy-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8.0-19-generic (SMP w/4 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog' === added directory 'debian/tests' === added file 'debian/tests/control' --- debian/tests/control 1970-01-01 00:00:00 +0000 +++ debian/tests/control 2013-05-13 13:48:26 +0000 @@ -0,0 +1,2 @@ +Tests: gmond gmetad +Depends: netcat, @ === added file 'debian/tests/gmetad' --- debian/tests/gmetad 1970-01-01 00:00:00 +0000 +++ debian/tests/gmetad 2013-05-13 13:48:26 +0000 @@ -0,0 +1,17 @@ +#!/bin/bash +#--------------- +# Testing gmetad +#--------------- +MACHINE=127.0.0.1 +PORT=8649 + +# listen to port +netcat -z ${MACHINE} ${PORT} +if [ $? -eq 0 ] +then + echo "OK" + exit 0 +else + echo "ERROR: gmetad not listening" >&1 + exit 1 +fi === added file 'debian/tests/gmond' --- debian/tests/gmond 1970-01-01 00:00:00 +0000 +++ debian/tests/gmond 2013-05-13 13:48:26 +0000 @@ -0,0 +1,17 @@ +#!/bin/bash +#-------------- +# Testing gmond +#-------------- +MACHINE=127.0.0.1 +PORT=8649 + +# listen to port +netcat -uz ${MACHINE} ${PORT} +if [ $? -eq 0 ] +then + echo "OK" + exit 0 +else + echo "ERROR: gmond not listening" >&1 + exit 1 +fi