]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
test_common: symlink xap_helper instead of excessive copying
authorEric Wong <e@80x24.org>
Sun, 1 Jun 2025 10:14:47 +0000 (10:14 +0000)
committerEric Wong <e@80x24.org>
Sun, 1 Jun 2025 10:15:49 +0000 (10:15 +0000)
commitc45a5498bc035c94420b87a7ee4cf696403bc429
tree5e580094c206ba0d9697cb2b61ea981543e45cb3
parentdf0579765d8481607fcf580822f60b0224469ccb
test_common: symlink xap_helper instead of excessive copying

Copying the entire directory is racy in the face of parallel
tests and caused an occasional test failure due to attempts (and
failures) in copying short-lived temporary files.  A symlink
for just the executable avoids attempted copies temporary files
is less expensive for the intended file, as well.
lib/PublicInbox/TestCommon.pm