[gnutls-devel] Guile-GnuTLS | Example Echo Client/Server Contains Removed Functions (#16)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Aug 22 09:18:27 CEST 2023

Marius Bakke commented: https://gitlab.com/gnutls/guile/-/issues/16#note_1522296303

Hey, those changes look great.

For testing with Autotools, adding something like this in `Makefile.am` should be a good start:


Then `make check` should "just work".  `examples.sh` could be a series of steps like:

echo -e "foo\nbar\n" | guile $exampledir/test-hmac.scm > tests/hmac.out
if [ "$?" != "0" ]; then exit 1; fi
if [ -n $(diff -u tests/hmac.{out,expected}) ]; then exit 1; fi

Of course this can be further streamlined with a `for test in hmac echo ...; do run_test $test`, etc.

Hope this helps & thanks for working on this!

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/issues/16#note_1522296303
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/20230822/de72cf91/attachment.html>

More information about the Gnutls-devel mailing list