Commit e4c264cb authored by Chris Lamb's avatar Chris Lamb 💬

t/fixtures.t: Add comment why we use a per-fixture temporary directory.

Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent f0cdd3c3
......@@ -34,7 +34,10 @@ my @fixtures = glob('t/fixtures/*/*.in');
$File::StripNondeterminism::canonical_time = 1423159771;
foreach my $filename (@fixtures) {
# Use a temporary directory per fixture so we can check whether any
# extraneous files are leftover.
my $temp = tempdir( CLEANUP => 1 );
my $in = "$temp/" . basename($filename, '.in');
(my $out = $filename) =~ s/\.in$/.out/;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment