Make stuff regarding debug names much less complex.
[sbcl.git] / tests / bug-981106.impure.lisp
blob5b01fc147d1348e4fed3337852c8ed14849e0606
1 (with-test (:name :bug-981106)
2 (gc :full t)
3 (assert (eq :ok
4 (handler-case
5 (dotimes (runs 100 :ok)
6 (let* ((n (truncate (dynamic-space-size) 1200))
7 (len (length
8 (with-output-to-string (string)
9 (dotimes (i n)
10 (write-sequence "hi there!" string))))))
11 (assert (eql len (* n (length "hi there!"))))))
12 (storage-condition ()
13 :oom)))))