diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/snapshot.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/snapshot.zig b/test/snapshot.zig index 53553657..2fa8e89c 100644 --- a/test/snapshot.zig +++ b/test/snapshot.zig @@ -264,6 +264,9 @@ pub fn main(init: std.process.Init) !void { }); std.process.exit(1); } + // Every retry passed: the captures of the failed attempts explain + // nothing any more, and /tmp is not where they should pile up. + if (retry_dir) |d| std.Io.Dir.cwd().deleteTree(init.io, d) catch {}; std.debug.print("all {d} snapshot scripts ok\n", .{scripts.len}); } |
