X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-bsd-sockets%2Ftests.lisp;h=0d6f3fcaeb6fde63ae8eb4c084e24731c6632a93;hb=03df95052f395c205d7e5028e06bc043ee60125d;hp=deb208f001aa358c11bc97949ae7e682f3f342c7;hpb=3b91bf9e9daf110b35dd8d5b6ca5a88e0fb0f13b;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/tests.lisp b/contrib/sb-bsd-sockets/tests.lisp index deb208f..0d6f3fc 100644 --- a/contrib/sb-bsd-sockets/tests.lisp +++ b/contrib/sb-bsd-sockets/tests.lisp @@ -1,5 +1,5 @@ (defpackage "SB-BSD-SOCKETS-TEST" - (:use "CL" "SB-BSD-SOCKETS" "RT")) + (:use "CL" "SB-BSD-SOCKETS" "SB-RT")) #|| @@ -128,14 +128,12 @@ Tests are in the file tests.lisp and also make good examples. (> (length data) 0)))) t) -#|| -

Local-domain sockets

- -A fairly rudimentary test that connects to the syslog socket and sends a -message. Priority 7 is kern.debug; you'll probably want to look at -/etc/syslog.conf or local equivalent to find out where the message ended up -||# +;;; A fairly rudimentary test that connects to the syslog socket and +;;; sends a message. Priority 7 is kern.debug; you'll probably want +;;; to look at /etc/syslog.conf or local equivalent to find out where +;;; the message ended up +#-sunos (deftest simple-local-client (let ((s (make-instance 'local-socket :type :datagram))) (format t "~A~%" s)