Commit 1402c879 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Forgot to chdir to the original directory

parent bd907bf6
......@@ -29,7 +29,7 @@ BEGIN {
#########################
my $dir = tempdir CLEANUP => 1;
chdir $dir;
my $original = chdir $dir;
my $rs_stdout = Bio::EnsEMBL::Hive::Utils::RedirectStack->new(\*STDOUT);
my $stdout = capture_stdout {
......@@ -59,3 +59,6 @@ ok(-e 'baz', '"bar" exists');
is(`cat baz`, qq{Message 5\n}, 'baz output');
done_testing();
chdir $original;
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