io.launcher.unix: simplify use of temp-directory.
parent
63763caef4
commit
7c2e8d0fad
|
@ -95,15 +95,14 @@ IN: io.launcher.unix.tests
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
{ "hi\n" } [
|
{ "hi\n" } [
|
||||||
temp-directory [
|
[
|
||||||
[ "aloha" delete-file ] ignore-errors
|
[ "aloha" delete-file ] ignore-errors
|
||||||
<process>
|
<process>
|
||||||
{ "echo" "hi" } >>command
|
{ "echo" "hi" } >>command
|
||||||
"aloha" >>stdout
|
"aloha" >>stdout
|
||||||
try-process
|
try-process
|
||||||
] with-directory
|
"aloha" utf8 file-contents
|
||||||
temp-directory "aloha" append-path
|
] with-temp-directory
|
||||||
utf8 file-contents
|
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
[ "append-test" arch-temp-file delete-file ] ignore-errors
|
[ "append-test" arch-temp-file delete-file ] ignore-errors
|
||||||
|
|
Loading…
Reference in New Issue