[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 19:44: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!"
I am sorry that I am not that familiar with the sh script. I'm not sure about what should I detect. Could you explain it further? And it there any better command I can use for this script?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/949#note_151008818
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/ccfae7a7/attachment.html>
More information about the Gnutls-devel
mailing list