You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_exim/15_exim_smtp.sh

17 lines
374 B

#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
# Christoph Galuschka <christoph.galuschka@chello.at>
t_Log "Running $0 - Exim SMTP test."
if (t_GetPkgRel basesystem | grep -q el5)
then
echo "helo test" | nc -i 1 -w 3 localhost 25 | grep -q '250'
ret_val=$?
else
t_Log "This seems to be a C6 system - skipping"
ret_val=0
fi
t_CheckExitStatus $ret_val