Deterministic test for the r6rs-ports.test segmentation fault

* test-suite/tests/r6rs-ports.test ("7.2.7 Input Ports"): Add (gc), to
  test the (ex-)bug in cbp_mark () when marking a closed port.
This commit is contained in:
Neil Jerram 2009-06-21 13:31:20 +01:00
commit 4574ec212a

View file

@ -342,6 +342,7 @@
close!)))
(close-port port)
(gc) ; Test for marking a closed port.
closed?)))