[gnutls-devel] GnuTLS | Add an option "--logfile" to redirect informational messages to a specific file (!949)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Mar 15 20:14:39 CET 2019




Ke Zhao commented on a discussion on tests/logfile-option.sh:

> +fi
> +
> +rm -f ${TMPFILE1} ${TMPFILE2}
> +
> +eval "${GETPORT}"
> +launch_server $$ --echo --priority NORMAL:+ECDHE-PSK:+DHE-PSK:+PSK --pskpasswd=${PSK}
> +PID=$!
> +wait_server ${PID}
> +
> +${VALGRIND} "${CLI}" -p "${PORT}" 127.0.0.1 --logfile ${TMPFILE1} --priority NORMAL:+ECDHE-PSK:+DHE-PSK:+PSK --pskusername=jas --pskkey=9e32cf7786321a828ef7668f09fb35db </dev/null >${TMPFILE2}
> +
> +kill ${PID}
> +wait
> +
> +if ! test -f ${TMPFILE1};then
> +	echo "Logfile shoule be created!"

Got it. I will first rebase my squashed commit and then make a further change on the script.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/949#note_151014314
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190315/85b57225/attachment-0001.html>


More information about the Gnutls-devel mailing list