summaryrefslogtreecommitdiff
path: root/test/process/tty_boot.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/process/tty_boot.zig')
-rw-r--r--test/process/tty_boot.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig
index 741f6260..51aea53b 100644
--- a/test/process/tty_boot.zig
+++ b/test/process/tty_boot.zig
@@ -271,6 +271,7 @@ fn load(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
fn restore(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
var t = try Tty.init(gpa, exe, "restore");
defer t.deinit();
+ t.privateDaemon();
try t.start(31, 100, &.{ "-n", "1" });
try t.wait(8000, "Newcol Joincol");
try t.stable(700, 20000);
@@ -380,6 +381,7 @@ fn headersweep(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
fn headersweep_restored(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
var t = try Tty.init(gpa, exe, "headersweep-restored");
defer t.deinit();
+ t.privateDaemon();
try t.start(21, 120, &.{ "-n", "3" });
try t.wait(8000, "Newcol");
try t.stable(700, 20000);