summaryrefslogtreecommitdiff
path: root/test/fs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/fs.py')
-rw-r--r--test/fs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fs.py b/test/fs.py
index ae9538cc..3c10c53b 100644
--- a/test/fs.py
+++ b/test/fs.py
@@ -508,6 +508,9 @@ def new_terminals_named_once(binary):
client.write('/pane/1/ctl', b'Tty fish\n')
made += [s for s in (int(row.split()[0]) for row in client.read('/index').splitlines()) if s not in before]
time.sleep(1.5) # their shells start and say where they are
+ # A shell started again by pty/ctl exec: named as it was.
+ client.write(f'/pane/{made[0]}/pty/ctl', b'exec\n')
+ time.sleep(1.5)
log = client.read('/log').decode()
for serial in made:
assert f'\nrename {serial} ' not in '\n' + log, (serial, log)