[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:03:08 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!"

By the way, rebase that single commit to master means merge this commit into master right? I just want to make sure.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/949#note_151012246
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/45401308/attachment-0001.html>


More information about the Gnutls-devel mailing list