From 068a222c37018fcec0153a2d988e9f32edeeb095 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: May 16 2012 15:44:18 +0000 Subject: dded mta tests --- diff --git a/tests/p_postfix/0-install_postfix.sh b/tests/p_postfix/0-install_postfix.sh new file mode 100755 index 0000000..9edb4a7 --- /dev/null +++ b/tests/p_postfix/0-install_postfix.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Author: Athmane Madjoudj + +# Remove other MTAs +t_ServiceControl sendmail stop +t_ServiceControl exim stop +sleep 3 +t_RemovePackage sendmail +t_RemovePackage exim + +# Postfix +t_InstallPackage postfix +t_ServiceControl postfix start diff --git a/tests/p_sendmail/0-install_sendmail.sh b/tests/p_sendmail/0-install_sendmail.sh new file mode 100755 index 0000000..96b9ca3 --- /dev/null +++ b/tests/p_sendmail/0-install_sendmail.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Author: Athmane Madjoudj + +t_InstallPackage sendmail + +# Remove other MTAs +t_ServiceControl postfix stop +t_ServiceControl exim stop +sleep 3 +t_RemovePackage postfix +t_RemovePackage exim + +t_ServiceControl sendmail start