diff options
Diffstat (limited to 'src/ninep/pane.zig')
| -rw-r--r-- | src/ninep/pane.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ninep/pane.zig b/src/ninep/pane.zig index 6c86053f..93759aa5 100644 --- a/src/ninep/pane.zig +++ b/src/ninep/pane.zig @@ -1056,6 +1056,7 @@ test "rows through the line index are the ones counting newlines gives, at every } test "a terminal's body stats as long as it reads" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = testing.allocator; const p = try pardes.Pardes.init(gpa, .{ .tty_only = true, .cols = 80, .rows = 24 }); defer p.deinit(); @@ -1070,6 +1071,7 @@ test "a terminal's body stats as long as it reads" { } test "a body write to a terminal pane types at its shell" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = testing.allocator; const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 40, .rows = 10 }); defer p.deinit(); @@ -1280,6 +1282,7 @@ test "a limit write that fails keeps the limit a truncation cleared before it" { } test "index names a command's pane cmd, a shell's term" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a command pane const p = try withFile(testing.allocator, "x\n"); defer p.deinit(); try testing.expectEqual(Status.ok, wr(p, Node.of(serialOf(p), .exec), "true\n").reply.status); |
