]> git.draconx.ca Git - cdecl99.git/commitdiff
tests: Fix interactive test without libreadline.
authorNick Bowler <nbowler@draconx.ca>
Sat, 8 Jul 2023 17:33:29 +0000 (13:33 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sat, 8 Jul 2023 17:44:40 +0000 (13:44 -0400)
When using actual readline, the user's input is echoed internally, so
the test case sees the actual input commands in the captured standard
output.  But in the getline-based fallback, the input is not reflected
to the output.  This is expected behaviour, but confuses the test case.

Rewrite the check to accept either form.


No differences found