aboutsummaryrefslogtreecommitdiff
path: root/contrib/bc/tests
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-05-10 13:14:25 +0000
committerStefan Eßer <se@FreeBSD.org>2022-05-10 13:16:19 +0000
commitbbd60e2c94dd1d4f39c38272da9086fa573cc639 (patch)
tree1566ffa4c8e720d5d31602885a7cee3b180d4d46 /contrib/bc/tests
parentaaa77b3a36605a4bf8daaa218be0e4916be39a6a (diff)
parented0603704174b01c25b49efc08c82e1532dc5622 (diff)
downloadsrc-bbd60e2c94dd1d4f39c38272da9086fa573cc639.tar.gz
src-bbd60e2c94dd1d4f39c38272da9086fa573cc639.zip
Diffstat (limited to 'contrib/bc/tests')
-rwxr-xr-xcontrib/bc/tests/history.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/bc/tests/history.py b/contrib/bc/tests/history.py
index 84e32f9612c4..c74dfd72f0a7 100755
--- a/contrib/bc/tests/history.py
+++ b/contrib/bc/tests/history.py
@@ -282,8 +282,11 @@ def test_eof(exe, args, env):
child = pexpect.spawn(exe, args=args, env=env)
try:
- send(child, "\t")
- expect(child, " ")
+ send(child, "123")
+ expect(child, "123")
+ send(child, "\x01")
+ send(child, "\x04")
+ send(child, "\x04")
send(child, "\x04")
wait(child)
except pexpect.TIMEOUT: