From: Michal Sojka Date: Sat, 29 Oct 2022 19:55:03 +0000 (+0200) Subject: tests: Fix expect sendcont test X-Git-Url: https://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/ffb8ced8ea88d7b1fdc02d803566f87bab473067 tests: Fix expect sendcont test For some reason, more didn't exit automatically. --- diff --git a/tests/expect.wv b/tests/expect.wv index 2d1acbc..acfeca6 100755 --- a/tests/expect.wv +++ b/tests/expect.wv @@ -25,10 +25,10 @@ WVPASS ./script -t '' --expect-re=q..st..n --send="answer\n" \ --remote-cmd='echo question; read x; echo $x > output' WVPASS grep answer output -WVSTART Expect sendcond +WVSTART Expect sendcont WVPASS create_dummy WVPASS ./script -t '' --expect=More --sendcont="\n" \ - --remote-cmd='seq 100|more' + --remote-cmd='seq 100|more --exit-on-eof' WVSTART Expect vs exiton priority WVPASS create_dummy