X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=t%2F20-each.t;fp=t%2F20-each.t;h=aa978cdde111966ca713b40debb356d9a51fe2d9;hp=346f755955a98cec923acb599c0505be67791ffe;hb=e295d1865b0480223b82fe2373ba79cf5485466e;hpb=0f55b91d632134b6077941fa223cd94378151373 diff --git a/t/20-each.t b/t/20-each.t index 346f755..aa978cd 100644 --- a/t/20-each.t +++ b/t/20-each.t @@ -4,7 +4,7 @@ use strict; use warnings; use Cwd qw/cwd abs_path/; -use File::Spec::Functions qw/catdir catfile/; +use File::Spec::Functions qw/curdir catdir catfile/; use File::Temp qw/tempfile tempdir/; use Test::More; @@ -129,7 +129,7 @@ sub try { ); my $ar = App::Rgit->new( - git => abs_path('t/bin/git'), + git => catfile(curdir, qw/t bin git/), root => $tmpdir, cmd => $cmd, args => [ abs_path($filename), $cmd, qw/%n %g %w %b %G %W %B %R %%n %x/ ],