[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:08:03 CET 2019
Nikos Mavrogiannopoulos 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!"
Something like checking whether `grep "Handshake was completed" ${TMPFILE1}` succeeds. About the rest what I mean is to combine the 3 commits to a single one, and then rebase to master.
A way to rebase to recent master:
```
git checkout master
git pull
git checkout my-work-branch
git rebase master
```
A way to combine the commits to a single is to use (on the working branch):
```
git rebase master
git format-patch master
git reset --hard master
cat *.patch|patch -p1
```
and commit the changes to a single patch.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/949#note_151013123
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/295969dd/attachment.html>
More information about the Gnutls-devel
mailing list