projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.6.34:
[sbcl.git]
/
contrib
/
sb-simple-streams
/
simple-stream-tests.lisp
diff --git
a/contrib/sb-simple-streams/simple-stream-tests.lisp
b/contrib/sb-simple-streams/simple-stream-tests.lisp
index
182b752
..
0577d03
100644
(file)
--- a/
contrib/sb-simple-streams/simple-stream-tests.lisp
+++ b/
contrib/sb-simple-streams/simple-stream-tests.lisp
@@
-118,11
+118,11
@@
(deftest write-read-inet
(handler-case
(with-open-stream (s (make-instance 'socket-simple-stream
(deftest write-read-inet
(handler-case
(with-open-stream (s (make-instance 'socket-simple-stream
- :remote-host #(127 0 0 1)
- :remote-port 7
+ :remote-host #(127 0 0 1)
+ :remote-port 7
:direction :io))
:direction :io))
- (string= (prog1 (write-line "Got it!" s) (finish-output s))
- (read-line s)))
+ (string= (prog1 (write-line "Got it!" s) (finish-output s))
+ (read-line s)))
;; Fail gracefully if echo isn't activated on the system
(sb-bsd-sockets::connection-refused-error () t))
t)
;; Fail gracefully if echo isn't activated on the system
(sb-bsd-sockets::connection-refused-error () t))
t)
@@
-373,8
+373,6
@@
Nothing to see here, move along.")
:initial-content ,(or initial-content '*multi-line-string*))
,@body))
:initial-content ,(or initial-content '*multi-line-string*))
,@body))
-;;; 0.8.3.93 tried to fix LISTEN on dual channel streams, but failed to do so:
-
(deftest listen-dc-1
;; LISTEN with filled buffer
(with-dc-test-stream (s) (read-char s) (listen s))
(deftest listen-dc-1
;; LISTEN with filled buffer
(with-dc-test-stream (s) (read-char s) (listen s))
@@
-430,7
+428,7
@@
Nothing to see here, move along.")
T)
(deftest line-length-dc-1
T)
(deftest line-length-dc-1
- ;; does LINE-LENGTH support simple streams?
+ ;; does LINE-LENGTH support simple streams?
(with-dc-test-stream (s)
(eql (sb-simple-streams:line-length s)
(sb-kernel:line-length s)))
(with-dc-test-stream (s)
(eql (sb-simple-streams:line-length s)
(sb-kernel:line-length s)))
@@
-502,8
+500,7
@@
Nothing to see here, move along.")
;; CLEAR-INPUT (via STREAM-MISC-DISPATCH)
(with-sc-test-stream (*synonym*)
(let ((s (make-synonym-stream '*synonym*)))
;; CLEAR-INPUT (via STREAM-MISC-DISPATCH)
(with-sc-test-stream (*synonym*)
(let ((s (make-synonym-stream '*synonym*)))
- (clear-input s)
- (listen s)))
+ (clear-input s)))
NIL)
(deftest synonym-stream-9
NIL)
(deftest synonym-stream-9
@@
-708,8
+705,7
@@
Nothing to see here, move along.")
;; CLEAR-INPUT (via STREAM-MISC-DISPATCH)
(with-sc-test-stream (synonym)
(let ((s (make-two-way-stream synonym synonym)))
;; CLEAR-INPUT (via STREAM-MISC-DISPATCH)
(with-sc-test-stream (synonym)
(let ((s (make-two-way-stream synonym synonym)))
- (clear-input s)
- (listen s)))
+ (clear-input s)))
NIL)
(deftest two-way-stream-9
NIL)
(deftest two-way-stream-9
@@
-794,8
+790,7
@@
Nothing to see here, move along.")
;; CLEAR-INPUT (via STREAM-MISC-DISPATCH)
(with-sc-test-stream (*synonym*)
(let ((s (make-echo-stream *synonym* *synonym*)))
;; CLEAR-INPUT (via STREAM-MISC-DISPATCH)
(with-sc-test-stream (*synonym*)
(let ((s (make-echo-stream *synonym* *synonym*)))
- (clear-input s)
- (listen s)))
+ (clear-input s)))
NIL)
(deftest echo-stream-11
NIL)
(deftest echo-stream-11
@@
-866,8
+861,7
@@
Nothing to see here, move along.")
;; CLEAR-INPUT (via STREAM-MISC-DISPATCH)
(with-sc-test-stream (*synonym*)
(let ((s (make-concatenated-stream *synonym*)))
;; CLEAR-INPUT (via STREAM-MISC-DISPATCH)
(with-sc-test-stream (*synonym*)
(let ((s (make-concatenated-stream *synonym*)))
- (clear-input s)
- (listen s)))
+ (clear-input s)))
NIL)
(deftest concatenated-stream-11
NIL)
(deftest concatenated-stream-11