diff options
author | Eric Wong <e@80x24.org> | 2019-05-14 03:32:03 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-14 04:00:10 +0000 |
commit | 2d51a2accd28465c915f91ab48c7e52a81d87a68 (patch) | |
tree | 06c8ca7d3d4cf015f5dc548438b859cd31cd29b9 /t/solver_git.t | |
parent | 1f4b022c38faba208528d0d5c993d569682b2a09 (diff) | |
download | public-inbox-2d51a2accd28465c915f91ab48c7e52a81d87a68.tar.gz |
We only need it for tests that chdir, and maybe for ENV{PATH} portability (dash seems fine, not sure about others). v2: revert change to solver_git.t for FreeBSD 11.2 and document
Diffstat (limited to 't/solver_git.t')
-rw-r--r-- | t/solver_git.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/solver_git.t b/t/solver_git.t index 6f0ce777..0b7d7c49 100644 --- a/t/solver_git.t +++ b/t/solver_git.t @@ -16,6 +16,8 @@ foreach my $mod (@mods) { } chomp(my $git_dir = `git rev-parse --git-dir 2>/dev/null`); plan skip_all => "$0 must be run from a git working tree" if $?; + +# needed for alternates, and --absolute-git-dir is only in git 2.13+ $git_dir = abs_path($git_dir); use_ok "PublicInbox::$_" for (qw(Inbox V2Writable MIME Git SolverGit)); |