diff options
author | Eric Wong <e@80x24.org> | 2022-12-01 11:21:31 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-12-02 08:07:40 +0000 |
commit | 3f7bd6ba4d30f16ef95af9121ad8fe7b47a4f5f7 (patch) | |
tree | f2005b749a203fbc5da61bd2ed99b77d6de76518 /t/lei.t | |
parent | eb22c4833d455b655b42b492dfad7f2abfc83203 (diff) | |
download | public-inbox-3f7bd6ba4d30f16ef95af9121ad8fe7b47a4f5f7.tar.gz |
I ended up with my $HOME in ~/.cache/lei/all_locals_ever.git/objects/info/alterntes and am trying to avoid that in the future.
Diffstat (limited to 't/lei.t')
-rw-r--r-- | t/lei.t | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -148,7 +148,8 @@ my $test_fail = sub { for my $lk (qw(ei inbox)) { my $d = "$home/newline\n$lk"; - mkdir $d; + my $all = $lk eq 'ei' ? 'ALL' : 'all'; + File::Path::mkpath("$d/$all.git/objects"); open my $fh, '>', "$d/$lk.lock" or BAIL_OUT "open $d/$lk.lock"; for my $fl (qw(-I --only)) { ok(!lei('q', $fl, $d, 'whatever'), |