]> Sergey Matveev's repositories - public-inbox.git/commit
tests: expand relative @INC paths
authorEric Wong <e@80x24.org>
Tue, 25 Oct 2022 11:43:18 +0000 (11:43 +0000)
committerEric Wong <e@80x24.org>
Tue, 25 Oct 2022 17:19:00 +0000 (17:19 +0000)
commitfaf88f9e2acd39055e882d420b42e1300a639c2b
treeb8d0529f4e03ec70c6a761351897c77284c762ab
parent1e7dc8e02310ec7f9056cd606ac8435b317ed92d
tests: expand relative @INC paths

Since the lei-daemon may chdir around and lazy-loads package, we
must ensure @INC uses absolute paths so it can find stuff after
(f)chdir.

I noticed this in running `perl -I lib -w t/lei-q-kw.t'
instead of my usual `prove -bvw t/lei-q-kw.t' to save some
cycles.
lib/PublicInbox/TestCommon.pm