Raymond Toy pushed to branch issue-373-handle-temp-files at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • tests/fd-streams.lisp
    ... ... @@ -17,25 +17,6 @@
    17 17
     (eval-when (:load-toplevel)
    
    18 18
       (ensure-directories-exist *test-path* :verbose t))
    
    19 19
     
    
    20
    -#+nil
    
    21
    -(define-test clear-output-1
    
    22
    -  (:tag :trac)
    
    23
    -  (assert-eql
    
    24
    -   0
    
    25
    -   (unwind-protect
    
    26
    -	(let ((s (open *test-file*
    
    27
    -		       :direction :output
    
    28
    -		       :if-exists :supersede)))
    
    29
    -	  ;; Write a character to the (fully buffered) output
    
    30
    -	  ;; stream. Clear the output and close the file. Nothing
    
    31
    -	  ;; should have been written to the file.
    
    32
    -	  (write-char #\a s)
    
    33
    -	  (clear-output s)
    
    34
    -	  (close s)
    
    35
    -	  (setf s (open *test-file*))
    
    36
    -	  (file-length s))
    
    37
    -     (delete-file *test-file*))))
    
    38
    -
    
    39 20
     (define-test clear-output-1
    
    40 21
         (:tag :trac)
    
    41 22
       (assert-eql