Server capabilities test, listen on single localhost IPv4 address

This commit is contained in:
Willem Toorop 2019-12-16 11:54:00 +01:00
parent 0fbe0dccc3
commit aafdba690d
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@
LOCALHOST=`${GETDNS_STUB_QUERY} '{namespaces:[GETDNS_NAMESPACE_LOCALNAMES]}' -A localhost. -J \
| awk -F: '/\"address_data\".*\"127/{print $2}' \
| sed -e 's/^[^"]*"//g' -e 's/"[^"]*$//g'`
| sed -e 's/^[^"]*"//g' -e 's/"[^"]*$//g'` \
| head -1
echo "localhost: $LOCALHOST"
cmake . && make && valgrind -v --log-file=valgrind.log --leak-check=full --error-exitcode=1 --track-origins=yes "./${TPKG_NAME}" ${LOCALHOST} | (