~ubuntu-branches/ubuntu/utopic/clamav/utopic-security

« back to all changes in this revision

Viewing changes to debian/tests/milter

  • Committer: Package Import Robot
  • Author(s): Yolanda
  • Date: 2013-05-22 12:29:44 UTC
  • Revision ID: package-import@ubuntu.com-20130522122944-jxv5wgdhz1pncvt3
Tags: 0.97.8+dfsg-1ubuntu2
debian/tests: Add autopkgtest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#----------------------
 
3
# Testing clamav-milter
 
4
#----------------------
 
5
set -e
 
6
DAEMON=clamav-milter
 
7
 
 
8
if pidof -x $DAEMON > /dev/null; then
 
9
    echo "OK"
 
10
else
 
11
    echo "ERROR: ${DAEMON} IS NOT RUNNING"
 
12
    exit 1
 
13
fi