Fix a test broken by the tree-shaker.
Some checks are pending
CL-host / ecl (push) Waiting to run
CL-host / clisp (push) Waiting to run
CL-host / ccl (push) Waiting to run
CL-host / cmucl (push) Waiting to run
CL-host / sbcl (push) Waiting to run
CL-host / self (push) Waiting to run
CL-host / compare-xc-host-fasls (ccl, false) (push) Blocked by required conditions
CL-host / compare-xc-host-fasls (clisp, false) (push) Blocked by required conditions
CL-host / compare-xc-host-fasls (cmucl, false) (push) Blocked by required conditions
CL-host / compare-xc-host-fasls (self, false) (push) Blocked by required conditions
Linux / build (x86, --with-sb-thread, ) (push) Waiting to run
Linux / build (x86, --without-sb-thread, ) (push) Waiting to run
Linux / build (x86, --without-sb-unicode, ) (push) Waiting to run
Linux / build (x86-64, --with-mark-region-gc) (push) Waiting to run
Linux / build (x86-64, --with-sb-fasteval --without-sb-eval, fasteval) (push) Waiting to run
Linux / build (x86-64, --with-sb-thread, ) (push) Waiting to run
Linux / build (x86-64, --with-sb-thread, sse4) (push) Waiting to run
Linux / build (x86-64, --without-sb-thread, ) (push) Waiting to run
Linux / build (x86-64, --without-sb-unicode, ) (push) Waiting to run
Mac / build (--without-sb-thread, x86-64) (push) Waiting to run
Mac / build (arm64, --with-mark-region-gc) (push) Waiting to run
Mac / build (arm64, --with-sb-thread) (push) Waiting to run
Mac / build (x86-64, --with-mark-region-gc) (push) Waiting to run
Mac / build (x86-64, --with-sb-thread) (push) Waiting to run
Windows / build (push) Waiting to run

This commit is contained in:
Stas Boukarev 2024-08-16 21:39:53 +03:00
parent 323ca44224
commit 76bbecb68f

View file

@ -855,11 +855,11 @@
(let ((s (make-mock-fd-stream '("zabc" "d" "efgh" "foo*bar" "hi")))
(string (make-string 100)))
(let ((endpos
(sb-impl::ansi-stream-read-string-from-frc-buffer string s 10 nil)))
(read-sequence string s :start 10)))
(assert (and (= endpos 28)
(string= (subseq string 10 endpos) "zabcdefghfoo*barhi"))))
(let ((endpos
(sb-impl::ansi-stream-read-string-from-frc-buffer string s 0 nil)))
(read-sequence string s)))
(assert (= endpos 0)))))
(with-test (:name :named-pipe-wait-eof)