diff options
Diffstat (limited to 'test/process/root_ctl.zig')
| -rw-r--r-- | test/process/root_ctl.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/process/root_ctl.zig b/test/process/root_ctl.zig index e3420ac5..979cfc48 100644 --- a/test/process/root_ctl.zig +++ b/test/process/root_ctl.zig @@ -127,6 +127,9 @@ fn restore(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer d.deinit(); var term: ?process.Child = null; defer if (term) |*t| t.deinit(); + // As a pair, with a daemon of the root's own: the Restore lets its + // client go, and it joins again through it (P42). + if (tty) d.tty_daemon = exe; if (tty) term = try d.startTty(exe, name, &.{}); const address = d.abs(try std.fmt.allocPrint(a, "pardes-9p-{s}.sock", .{name})); const old = try Conn.dial(gpa, address); |
