testbench: renable test hostname-getaddrinfo-fail.sh

root problem cause was fixed by recent comment, so now we can
use it again on these platforms.

closes https://github.com/rsyslog/rsyslog/issues/2833
This commit is contained in:
Rainer Gerhards 2019-05-09 18:41:34 +02:00
parent fc6f0dc29d
commit 98c3d82cdd
No known key found for this signature in database
GPG Key ID: 0CB6B2A8BE80B499

View File

@ -15,9 +15,6 @@
# This is part of the rsyslog testbench, licensed under ASL 2.0
. ${srcdir:=.}/diag.sh init
skip_platform "AIX" "we cannot preload required dummy lib"
skip_platform "SunOS" "there seems to be an issue with LD_PRELOAD libraries"
skip_platform "FreeBSD" "temporarily disabled until we know what is wrong, \
see https://github.com/rsyslog/rsyslog/issues/2833"
echo 'action(type="omfile" file="'$RSYSLOG_DYNNAME'.out.log")' > ${RSYSLOG_DYNNAME}.conf
LD_PRELOAD=".libs/liboverride_gethostname_nonfqdn.so:.libs/liboverride_getaddrinfo.so" \
@ -28,7 +25,7 @@ kill $(cat $RSYSLOG_DYNNAME.pid )
grep " nonfqdn " < $RSYSLOG_DYNNAME.out.log
if [ ! $? -eq 0 ]; then
echo "expected hostnaame \"nonfqdn\" not found in logs, $RSYSLOG_DYNNAME.out.log is:"
echo "expected hostname \"nonfqdn\" not found in logs, $RSYSLOG_DYNNAME.out.log is:"
cat $RSYSLOG_DYNNAME.out.log
error_exit 1
fi;