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

Proposed by Yolanda Robla
Status: Merged
Merged at revision: 126
Proposed branch: lp:~yolanda.robla/ubuntu/saucy/clamav/dep-8-tests
Merge into: lp:ubuntu/saucy/clamav
Diff against target: 46 lines (+13/-4)
3 files modified
debian/changelog (+7/-1)
debian/tests/clamd (+5/-2)
debian/tests/control (+1/-1)
To merge this branch: bzr merge lp:~yolanda.robla/ubuntu/saucy/clamav/dep-8-tests
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+166196@code.launchpad.net

Description of the change

Fixed clamd tests to don't require network access

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks! Merged with some grammar fixes in the changelog.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-05-22 12:29:44 +0000
+++ debian/changelog 2013-05-29 08:51:27 +0000
@@ -1,8 +1,14 @@
1clamav (0.97.8+dfsg-1ubuntu3) saucy; urgency=low
2
3 * debian/tests: updated clamd test to don't required network access
4
5 -- Yolanda Robla <yolanda.robla@canonical.com> Wed, 29 May 2013 10:41:31 +0200
6
1clamav (0.97.8+dfsg-1ubuntu2) saucy; urgency=low7clamav (0.97.8+dfsg-1ubuntu2) saucy; urgency=low
28
3 * debian/tests: Add autopkgtest.9 * debian/tests: Add autopkgtest.
410
5 -- Yolanda <yolanda.robla@canonical.com> Wed, 22 May 2013 12:29:44 +020011 -- Yolanda Robla <yolanda.robla@canonical.com> Wed, 22 May 2013 12:29:44 +0200
612
7clamav (0.97.8+dfsg-1ubuntu1.13.04.1) raring-security; urgency=low13clamav (0.97.8+dfsg-1ubuntu1.13.04.1) raring-security; urgency=low
814
915
=== modified file 'debian/tests/clamd'
--- debian/tests/clamd 2013-05-22 12:29:44 +0000
+++ debian/tests/clamd 2013-05-29 08:51:27 +0000
@@ -5,8 +5,11 @@
5set -e5set -e
6DAEMON=clamd6DAEMON=clamd
77
8# first refresh database with freshclam8# copy the file form unit tests to clamav directory
9freshclam > /dev/null 2>&19cp `dirname $0`/../../unit_tests/input/bytecode.cvd /var/lib/clamav/main.cvd > /dev/null 2>&1
10cp `dirname $0`/../../unit_tests/input/bytecode.cvd /var/lib/clamav/daily.cvd > /dev/null 2>&1
11
12# restart clamav
10/etc/init.d/clamav-daemon start > /dev/null 2>&113/etc/init.d/clamav-daemon start > /dev/null 2>&1
1114
12if pidof -x $DAEMON > /dev/null; then15if pidof -x $DAEMON > /dev/null; then
1316
=== modified file 'debian/tests/control'
--- debian/tests/control 2013-05-22 12:29:44 +0000
+++ debian/tests/control 2013-05-29 08:51:27 +0000
@@ -1,3 +1,3 @@
1Tests: clamd client milter1Tests: clamd client milter
2Depends: clamav-freshclam, clamav-daemon, clamav, clamav-milter2Depends: clamav-daemon, clamav, clamav-milter
3Restrictions: needs-root3Restrictions: needs-root

Subscribers

People subscribed via source and target branches

to all changes: