summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fs.py b/test/fs.py
index 483ef320..f24e2550 100644
--- a/test/fs.py
+++ b/test/fs.py
@@ -393,7 +393,8 @@ def discovery(binary, embedded=False):
while client.read('/log').decode().count('\nexit ') <= seen:
assert time.monotonic() < deadline, 'diff -u never ended'
time.sleep(.05)
- ran = [row.split()[0] for row in client.read('/index').decode().splitlines() if row.split()[1] == 'term']
+ # A command's pane is kind cmd, not term: no shell to type into.
+ ran = [row.split()[0] for row in client.read('/index').decode().splitlines() if row.split()[1] == 'cmd']
shown = client.read(f'/pane/{ran[-1]}/body').decode()
assert '+++ diff-new.txt' in shown and '\t' not in shown, shown
client.write(f'/pane/{ran[-1]}/look', b'+TWO\n')