io.launcher.windows.nt: make tests more robust

db4
Slava Pestov 2009-09-04 21:59:11 -05:00
parent f93f96150e
commit 084c3cac3d
1 changed files with 2 additions and 2 deletions

View File

@ -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
[ ] [ [ ] [