Fixed SRV lookup test to use nmap-ncat instead of BSD ncat
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
be36d9ca75
commit
2b0ce896fe
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ rlJournalStart
|
|||
rlRun "cp ./mockserver.sh $tmp" 0 "Copying mock server"
|
||||
rlRun "pushd $tmp"
|
||||
rlRun "alternatives --set mta /usr/sbin/sendmail.postfix" 0 "Switching alternatives to postfix"
|
||||
rlRun "alternatives --set nc /usr/bin/ncat" 0 "Switching alternatives to nmap-ncat"
|
||||
rlRun "set -o pipefail"
|
||||
rlFileBackup --missing-ok /etc/postfix/main.cf /etc/dnsmasq.conf /etv/resolv.conf
|
||||
rlRun "echo 'use_srv_lookup = submission' >> /etc/postfix/main.cf" 0 "Enabling SRV lookup"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue