diff options
Diffstat (limited to 'test/process/repls.zig')
| -rw-r--r-- | test/process/repls.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/process/repls.zig b/test/process/repls.zig index 09e25e96..a6fe07ac 100644 --- a/test/process/repls.zig +++ b/test/process/repls.zig @@ -35,7 +35,7 @@ fn pythonRepl(gpa: std.mem.Allocator, exe: [:0]const u8) !void { const c = try Conn.dial(gpa, d.socket()); defer c.deinit(gpa); const before = try c.serials(a); - try c.write("/pane/1/ctl", "Tty\n"); + try c.write("/pane/1/ctl", "Term\n"); const deadline = process.nowMs() + 10_000; var tty: u32 = 0; while (tty == 0 and process.nowMs() < deadline) : (process.nap(50)) { @@ -43,7 +43,7 @@ fn pythonRepl(gpa: std.mem.Allocator, exe: [:0]const u8) !void { tty = @max(tty, n); }; } - try check(tty != 0, "Tty made no pane", .{}); + try check(tty != 0, "Term made no pane", .{}); try check(try waitFor(a, c, tty, "$", 15_000) or try waitFor(a, c, tty, ">", 15_000), "no prompt: {s}", .{try c.pane(a, tty, "body")}); try c.write(try std.fmt.allocPrint(a, "/pane/{d}/pty/data", .{tty}), "python3 -q\r"); try check(try waitFor(a, c, tty, ">>>", 15_000), "no >>>: {s}", .{try c.pane(a, tty, "body")}); |
