Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
1402c879
Commit
1402c879
authored
Feb 06, 2016
by
Matthieu Muffato
Browse files
Forgot to chdir to the original directory
parent
bd907bf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
t/01.utils/redirect_stack.t
t/01.utils/redirect_stack.t
+4
-1
No files found.
t/01.utils/redirect_stack.t
View file @
1402c879
...
...
@@ -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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment