summaryrefslogtreecommitdiff
path: root/test/daemon.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/daemon.py')
-rw-r--r--test/daemon.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/daemon.py b/test/daemon.py
index 7db7e055..f3c927ad 100644
--- a/test/daemon.py
+++ b/test/daemon.py
@@ -1078,7 +1078,7 @@ def main(binary, cycles):
started = []
try:
term = Term()
- stub = term.spawn([binary, '--tui', '--9p=work'], env)
+ stub = term.spawn([binary, '--tty', '--9p=work'], env)
started.append(stub.pid)
sock = root / 'pardes-9p-work.sock'
wait_for('the session\'s 9P socket', sock.exists)
@@ -1181,7 +1181,7 @@ def main(binary, cycles):
term = Term()
stub_pid = root / 'stub.pid'
shell = term.spawn(['sh', '-c', '"$@" & echo $! > "$0"; wait; exec sleep 600',
- str(stub_pid), binary, '--tui', '--9p=fresh'], env)
+ str(stub_pid), binary, '--tty', '--9p=fresh'], env)
started.append(shell.pid)
sock = root / 'pardes-9p-fresh.sock'
wait_for('the second session', sock.exists)
@@ -1425,7 +1425,7 @@ def upgrades(old, new):
started = []
try:
term = Term()
- stub = term.spawn([str(binary), '--tui', '--9p=work'], env)
+ stub = term.spawn([str(binary), '--tty', '--9p=work'], env)
started.append(stub.pid)
sock = root / 'pardes-9p-work.sock'
wait_for('the session\'s 9P socket', sock.exists)
@@ -1610,7 +1610,7 @@ def upgrades(old, new):
time.sleep(.3)
assert alive(shell_pid) and alive(daemon)
term = Term()
- stub = term.spawn([str(binary), '--tui', '--9p=again'], env)
+ stub = term.spawn([str(binary), '--tty', '--9p=again'], env)
started.append(stub.pid)
sock = root / 'pardes-9p-again.sock'
wait_for('the next session', sock.exists)