]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - t/20-each.t
Always canonify the root, the git path and the repo directory
[perl/modules/rgit.git] / t / 20-each.t
index aa978cdde111966ca713b40debb356d9a51fe2d9..a3a26e5e4a827c6eefe9114ac48e747735e99a70 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Cwd                   qw/cwd abs_path/;
-use File::Spec::Functions qw/curdir catdir catfile/;
+use File::Spec::Functions qw/catdir catfile/;
 use File::Temp            qw/tempfile tempdir/;
 
 use Test::More;
@@ -129,7 +129,7 @@ sub try {
  );
 
  my $ar = App::Rgit->new(
-  git    => catfile(curdir, qw/t bin git/),
+  git    => 't/bin/git',
   root   => $tmpdir,
   cmd    => $cmd,
   args   => [ abs_path($filename), $cmd, qw/%n %g %w %b %G %W %B %R %%n %x/ ],