Commit bfed9411 authored by Matthieu Muffato's avatar Matthieu Muffato

Go back to the original directory

parent fe22e390
......@@ -33,6 +33,7 @@ use File::Basename ();
$ENV{'EHIVE_ROOT_DIR'} ||= File::Basename::dirname( File::Basename::dirname( File::Basename::dirname( Cwd::realpath($0) ) ) );
my $dir = tempdir CLEANUP => 1;
my $original = Cwd::getcwd;
chdir $dir;
my $pipeline_url = 'sqlite:///ehive_test_pipeline_db';
......@@ -87,3 +88,5 @@ is($ada_a->count_all(), 1, "still 1 entry in the analysis_data table");
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