~ubuntu-branches/debian/sid/postfix/sid

« back to all changes in this revision

Viewing changes to debian/tests/postfix

  • Committer: Package Import Robot
  • Author(s): LaMont Jones, LaMont Jones, Yolanda, Wietse Venema, localization folks
  • Date: 2013-08-26 19:10:31 UTC
  • mfrom: (1.1.39) (55.1.6 postfix)
  • Revision ID: package-import@ubuntu.com-20130826191031-ij6l422z7707p3s7
Tags: 2.10.1-1
[LaMont Jones]

* Merge ubuntu changes

[Yolanda]

* d/tests: added dep-8-tests
* debian/tests/test-postfix.py: rewrite in pexpect to avoid python error

[Wietse Venema]

* 2.10.1

[localization folks]

* l10n: Updated German debconf translations.  Closes: #703887 (Chris Leick)
* l10n: Updated Polish debconf translations.  Closes: #703929 (Michał
  Kułach)
* l10n: updated Slovak debconf tranlations.  Closes: #709107 (Ivan Masár)
* l10n: Updated Portuguese debconf translation.  Closes: #703776 (Miguel
  Figueiredo)
* l10n: Updated Danish debconf tranlations.  Closes: #704016 (Joe Hansen)
* l10n: Updated Turkish debconf translations.  Closes: #703871 (Atila KOÇ)
* l10n: Updated Italian debconf translations. (Cristian Rigamonti)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#----------------
 
3
# Testing postfix
 
4
#----------------
 
5
set -e
 
6
 
 
7
# reconfigure postfix
 
8
debconf-set-selections <<< "postfix postfix/mailname string localhost" 2>&1
 
9
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" 2>&1
 
10
 
 
11
# install and modify
 
12
hostname localhost
 
13
apt-get install -y postfix 2>&1
 
14
hostname --fqdn > /etc/mailname
 
15
/etc/init.d/postfix restart 2>&1
 
16
python `dirname $0`/test-postfix.py 2>&1