test: Do not create file under /tmp in show-test

Do not create test file under /tmp as it might break
concurrent builds. Creating file on the current directory should
suffice.
This commit is contained in:
okuoku 2018-04-04 05:27:03 +09:00
parent 656efad587
commit 583c45a6c1

View file

@ -730,7 +730,7 @@ def | 6
;; from-file
;; for reference, filesystem-test relies on creating files under /tmp
(let* ((tmp-file "/tmp/chibi-show-test-0123456789")
(let* ((tmp-file "chibi-show-test-0123456789")
(content-string "first line\nsecond line\nthird line"))
(with-output-to-file tmp-file (lambda () (write-string content-string)))
(test (string-append content-string "\n")