From ffb8ced8ea88d7b1fdc02d803566f87bab473067 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sat, 29 Oct 2022 21:55:03 +0200 Subject: [PATCH] tests: Fix expect sendcont test For some reason, more didn't exit automatically. --- tests/expect.wv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2