summaryrefslogtreecommitdiff
path: root/test/selfmount.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/selfmount.py')
-rw-r--r--test/selfmount.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/selfmount.py b/test/selfmount.py
index 61d32523..1df17226 100644
--- a/test/selfmount.py
+++ b/test/selfmount.py
@@ -37,7 +37,7 @@ def unix_mount(ns, binary, served, env, name, fixture):
env = dict(env, PARDES_DUMP=f'/tmp/{second}.dump.zon')
pid, master = pty.fork()
if pid == 0:
- os.execve(ns, ['9ns', '--unix', served, '--', binary, '--tty', '--9p=' + second, str(fixture)], env)
+ os.execve(ns, ['9ns', '--unix', served, '--', binary, '--tui', '--9p=' + second, str(fixture)], env)
fcntl.ioctl(master, termios.TIOCSWINSZ, struct.pack('HHHH', 30, 100, 0, 0))
os.set_blocking(master, False)
try:
@@ -83,7 +83,7 @@ def run(binary):
env['PARDES_LSP_' + language] = ''
pid, master = pty.fork()
if pid == 0:
- os.execve(ns, ['9ns', '--mntgen', '--', binary, '--tty', '--9p=' + name, str(fixture)], env)
+ os.execve(ns, ['9ns', '--mntgen', '--', binary, '--tui', '--9p=' + name, str(fixture)], env)
fcntl.ioctl(master, termios.TIOCSWINSZ, struct.pack('HHHH', 30, 100, 0, 0))
os.set_blocking(master, False)
tail = bytearray()
@@ -276,7 +276,7 @@ def run(binary):
other_env = dict(env, PARDES_DUMP=f'/tmp/{other}.dump.zon')
other_pid, other_master = pty.fork()
if other_pid == 0:
- os.execve(binary, [binary, '--tty', '--9p=' + other], other_env)
+ os.execve(binary, [binary, '--tui', '--9p=' + other], other_env)
os.set_blocking(other_master, False)
deadline = time.monotonic() + 15
while not os.path.exists(other_sock) and time.monotonic() < deadline: