]> git.draconx.ca Git - cdecl99.git/commit
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)
commitc5810975e3ec971fc8caf65f58b77c96c97b2571
treeec457173c2a1fc6982098349339485143a24ec1b
parentad172f6d46ad5b36fdc9cc34a2450c93f48b0f99
tests: Fix interactive test without libreadline.

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.
tests/general.at