Finally there should be no temp file leftovers now.

This commit is contained in:
Eli Barzilay 2011-08-29 22:12:25 -04:00
parent 14357370dd
commit 4ae7e05632
2 changed files with 5 additions and 2 deletions

View File

@ -172,6 +172,9 @@
"dir"
(string->path "stuff"))
(delete-file tempfile)
(delete-file (make-lock-file-name tempfile))
;; ----------------------------------------
(report-errs)

View File

@ -77,8 +77,8 @@
(rtest #t write-resource "Temporary" "more" 10 tmp-ini)
(rtest 10 get-resource "Temporary" "more" #f tmp-ini #:type 'integer)
(when (eq? 'windows (system-type))
(rtest "[Temporary]\r\nStuff=howdy\r\nmore=10\r\n" file->string tmp-ini)
(delete-file tmp-ini)))
(rtest "[Temporary]\r\nStuff=howdy\r\nmore=10\r\n" file->string tmp-ini))
(delete-file tmp-ini))
(void))