1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-18 18:40:22 +02:00
Commit graph

12 commits

Author SHA1 Message Date
Ludovic Courtès
b720f24494 Make `sockets.test' more robust.
* test-suite/tests/socket.test ("AF_INET6/SOCK_STREAM"): Gracefully
  handle cases where this combination is not supported.
2011-04-28 22:31:44 +02:00
Ludovic Courtès
5411e043d0 Work around path name length limitations in `socket.test'.
* test-suite/tests/socket.test (%tmpdir, %curdir): New variables.
  Chdir to %TMPDIR.  Switch back to %CURDIR at the end.
  (temp-file-path): Return a base file name, not an absolute path.
2009-11-26 10:17:05 +01:00
Neil Jerram
451e15a06c Fix handling of IPv6 addresses
Thanks to Scott McPeak for reporting this and providing a patch.

* libguile/socket.c (scm_to_ipv6): When address is the wrong type,
  provide more information in the exception message.

  (scm_to_sockaddr): scm_to_ipv6 expects just an address, not the
  whole vector.

* test-suite/tests/socket.test ("AF_INET6/SOCK_STREAM"): New set of
  tests.
2009-10-01 23:43:54 +01:00
Ludovic Courtès
792ebd5dc4 Honor $TMPDIR in the test suite. 2008-03-13 13:56:43 +00:00
Ludovic Courtès
fe76611522 Changes from arch/CVS synchronization 2007-06-25 22:36:43 +00:00
Ludovic Courtès
5b0c950458 Changes from arch/CVS synchronization 2007-06-12 22:09:38 +00:00
Kevin Ryde
6867446f57 (htonl, ntohl): New tests. 2006-07-23 22:22:20 +00:00
Marius Vollmer
0ab652a386 Added 2006 to copyright years in every file, as per the new rules. 2006-02-12 13:42:52 +00:00
Kevin Ryde
e7e4808056 2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
* tests/socket.test (make-socket-address): New tests.
	(connect, bind, sendto): Exercise sockaddr object.
2005-10-27 00:35:06 +00:00
Marius Vollmer
92205699d0 The FSF has a new address. 2005-05-23 19:57:22 +00:00
Kevin Ryde
3810edd92c (inet-pton): New tests. 2004-12-10 00:42:20 +00:00
Kevin Ryde
4064ed2ab5 New file. 2004-04-24 21:13:16 +00:00