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:
Jaroslav Škarvada 2026-06-22 14:57:43 +02:00
commit 2b0ce896fe

View file

@ -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"