diff options
| author | Chris Boesch <[email protected]> | 2023-04-29 22:49:07 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-29 22:49:07 +0200 |
| commit | 6b48914d7ab1259d62e3ef9490dd6eac088ce640 (patch) | |
| tree | 19f4b604d95a4b9caa96eb051a3fc38fa6e159c6 /test | |
| parent | edeca973700bcd2f2853d74b7ba5a1526bbca905 (diff) | |
| parent | 0dc6b457705ad45262be4fa5e0ca49cb03f3612c (diff) | |
| download | ziglings-6b48914d7ab1259d62e3ef9490dd6eac088ce640.tar.xz ziglings-6b48914d7ab1259d62e3ef9490dd6eac088ce640.zip | |
Merge pull request #269 from perillo/fix-windows-deadlock
Fix deadlock on Windows
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/tests.zig b/test/tests.zig index f91c4fd..f9ad9c4 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -333,10 +333,9 @@ fn heal(allocator: Allocator, exercises: []const Exercise, outdir: []const u8) ! }; const output = try join(allocator, &.{ outdir, ex.main_file }); - const argv = &.{ "patch", "-i", patch, "-o", output, file }; + const argv = &.{ "patch", "-i", patch, "-o", output, "-s", file }; var child = std.process.Child.init(argv, allocator); - child.stdout_behavior = .Ignore; // the POSIX standard says that stdout is not used _ = try child.spawnAndWait(); } } |
