io.launcher.windows.nt: make tests more robust
parent
f93f96150e
commit
084c3cac3d
|
@ -42,7 +42,7 @@ IN: io.launcher.windows.nt.tests
|
||||||
console-vm "-run=listener" 2array >>command
|
console-vm "-run=listener" 2array >>command
|
||||||
+closed+ >>stdin
|
+closed+ >>stdin
|
||||||
+stdout+ >>stderr
|
+stdout+ >>stderr
|
||||||
ascii [ contents ] with-process-reader
|
ascii [ lines last ] with-process-reader
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
: launcher-test-path ( -- str )
|
: launcher-test-path ( -- str )
|
||||||
|
@ -166,7 +166,7 @@ IN: io.launcher.windows.nt.tests
|
||||||
|
|
||||||
[ "( scratchpad ) " ] [
|
[ "( scratchpad ) " ] [
|
||||||
console-vm "-run=listener" 2array
|
console-vm "-run=listener" 2array
|
||||||
ascii [ "USE: system 0 exit" print flush readln ] with-process-stream
|
ascii [ "USE: system 0 exit" print flush lines last ] with-process-stream
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
[ ] [
|
[ ] [
|
||||||
|
|
Loading…
Reference in New Issue