diff options
Diffstat (limited to 'test/process.zig')
| -rw-r--r-- | test/process.zig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/process.zig b/test/process.zig index 57f12e10..a3679dfd 100644 --- a/test/process.zig +++ b/test/process.zig @@ -1088,14 +1088,6 @@ pub fn check(ok: bool, comptime what: []const u8, args: anytype) !void { return error.TestUnexpectedResult; } -/// Whether `exe` was built with QUIC (-Dquic=true): refused for that, or -/// for --attach's own reason, which comes after. -pub fn quicIncluded(gpa: std.mem.Allocator, exe: [:0]const u8) !bool { - const r = try run(gpa, &.{ exe, "--attach=work", "--9p-quic=quic!127.0.0.1!0" }, .{}); - defer gpa.free(r.said); - return !has(r.said, "QUIC is not included"); -} - fn removeDir(path: []const u8) void { var cmd: [4200]u8 = undefined; if (std.fmt.bufPrintSentinel(&cmd, "rm -rf -- '{s}'", .{path}, 0)) |c| { |
