summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-08-02 17:31:45 +0200
committerLudovic Courtès <ludo@gnu.org>2016-08-02 18:07:19 +0200
commit2c7b48c2fbccc0b2fc09ae055ce5b32f3fe6b441 (patch)
tree95ec0e4c24ef5fe5f979c0761d94c4789e1a23b4
parente2b12a55c1ead8b1ec39e0c5e546fe0ff0542446 (diff)
downloadguix-2c7b48c2fbccc0b2fc09ae055ce5b32f3fe6b441.tar.gz
tests: Work around Guile bug with unbuffered custom binary input ports.
Reported by Chris Marusich <cmmarusich@gmail.com>
at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24060#19>

* tests/publish.scm (http-get-port): Remove 'setvbuf' call for the
response port.
-rw-r--r--tests/publish.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/publish.scm b/tests/publish.scm
index 7499553aeb..99d341da46 100644
--- a/tests/publish.scm
+++ b/tests/publish.scm
@@ -66,7 +66,8 @@
         (lambda ()
           (http-get uri #:port socket #:streaming? #t))
       (lambda (response port)
-        (setvbuf port _IONBF)
+        ;; Don't (setvbuf port _IONBF) because of <http://bugs.gnu.org/19610>
+        ;; (PORT might be a custom binary input port).
         port))))
 
 (define (publish-uri route)