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

Proposed by Yolanda Robla
Status: Needs review
Proposed branch: lp:~yolanda.robla/amavisd-new/dep-8-tests
Merge into: lp:ubuntu/saucy/amavisd-new
Diff against target: 87 lines (+53/-0)
5 files modified
debian/changelog (+6/-0)
debian/control (+1/-0)
debian/tests/control (+3/-0)
debian/tests/hostandport (+20/-0)
debian/tests/smtpdaemon (+23/-0)
To merge this branch: bzr merge lp:~yolanda.robla/amavisd-new/dep-8-tests
Reviewer Review Type Date Requested Status
VCS imports Pending
Review via email: mp+161380@code.launchpad.net

Description of the change

Added dep-8 tests

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

fixing control

36. By Yolanda Robla

fixing control

37. By Yolanda Robla

d/tests: added dep-8-tests

Unmerged revisions

37. By Yolanda Robla

d/tests: added dep-8-tests

36. By Yolanda Robla

fixing control

35. By Yolanda Robla

fixing control

34. By Yolanda Robla

adding dep-8 tests

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-09-21 10:23:40 +0000
+++ debian/changelog 2013-05-10 15:36:24 +0000
@@ -1,3 +1,9 @@
1amavisd-new (1:2.7.1-2ubuntu4) saucy; urgency=low
2
3 * d/tests: added dep-8-tests
4
5 -- Yolanda <yolanda.robla@canonical.com> Fri, 10 May 2013 17:33:02 +0200
6
1amavisd-new (1:2.7.1-2ubuntu3) quantal; urgency=low7amavisd-new (1:2.7.1-2ubuntu3) quantal; urgency=low
28
3 * debian/control: drop altermime and ripole to Suggests after discussions9 * debian/control: drop altermime and ripole to Suggests after discussions
410
=== modified file 'debian/control'
--- debian/control 2012-09-21 10:23:40 +0000
+++ debian/control 2013-05-10 15:36:24 +0000
@@ -8,6 +8,7 @@
8Standards-Version: 3.9.38Standards-Version: 3.9.3
9Vcs-Browser: http://anonscm.debian.org/gitweb/?p=amavisd-new/pkg-amavisd-new.git;a=summary9Vcs-Browser: http://anonscm.debian.org/gitweb/?p=amavisd-new/pkg-amavisd-new.git;a=summary
10Vcs-Git: git://anonscm.debian.org/amavisd-new/pkg-amavisd-new.git10Vcs-Git: git://anonscm.debian.org/amavisd-new/pkg-amavisd-new.git
11XS-Testsuite: autopkgtest
1112
12Package: amavisd-new13Package: amavisd-new
13Architecture: all14Architecture: all
1415
=== added directory 'debian/tests'
=== added file 'debian/tests/control'
--- debian/tests/control 1970-01-01 00:00:00 +0000
+++ debian/tests/control 2013-05-10 15:36:24 +0000
@@ -0,0 +1,3 @@
1Tests: hostandport smtpdaemon
2Depends: netcat, postfix, amavisd-new
3Restrictions: needs-root
04
=== added file 'debian/tests/hostandport'
--- debian/tests/hostandport 1970-01-01 00:00:00 +0000
+++ debian/tests/hostandport 2013-05-10 15:36:24 +0000
@@ -0,0 +1,20 @@
1#!/bin/bash
2#------------------------------
3# Testing amavisd host and port
4#------------------------------
5MACHINE=127.0.0.1
6PORT=10024
7
8# modify hostname from amavis
9hostname localhost
10/etc/init.d/amavis restart >/dev/null 2>&1
11
12netcat -z ${MACHINE} ${PORT}
13if [ $? -eq 0 ]
14then
15 echo "OK"
16 exit 0
17else
18 echo "ERROR: amavisd-new not listening" >&1
19 exit 1
20fi
021
=== added file 'debian/tests/smtpdaemon'
--- debian/tests/smtpdaemon 1970-01-01 00:00:00 +0000
+++ debian/tests/smtpdaemon 2013-05-10 15:36:24 +0000
@@ -0,0 +1,23 @@
1#!/bin/bash
2#-------------------------------
3# Testing the new Postfix daemon
4#-------------------------------
5MACHINE=127.0.0.1
6PORT=10025
7
8# modify hostname from amavis
9hostname localhost
10/etc/init.d/amavis restart >/dev/null 2>&1
11
12apt-get install -y amavisd-new-postfix >/dev/null 2>&1
13#/etc/init.d/postfix restart >/dev/null 2>&1
14
15netcat -z ${MACHINE} ${PORT}
16if [ $? -eq 0 ]
17then
18 echo "OK"
19 exit 0
20else
21 echo "ERROR: smtp-daemon not listening" >&1
22 exit 1
23fi

Subscribers

People subscribed via source and target branches

to all changes: